Userdata Catch test
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
export default {
|
export default {
|
||||||
async importLocalStoreCode() {
|
async importLocalStoreCode() {
|
||||||
const value = localStorage.getItem("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master");
|
const raw = localStorage.getItem("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master");
|
||||||
if (value !== null) {
|
if (!raw) return null;
|
||||||
await storeValue("APPSMITH_LOCAL_STORE-code", value, true);
|
|
||||||
}
|
const parsed = JSON.parse(raw);
|
||||||
return value;
|
await storeValue("Userinfo", parsed, true);
|
||||||
|
return parsed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"fullyQualifiedName": "Userdata_catch.importLocalStoreCode",
|
"fullyQualifiedName": "Userdata_catch.importLocalStoreCode",
|
||||||
"name": "importLocalStoreCode",
|
"name": "importLocalStoreCode",
|
||||||
"pageId": "Sitzplätze",
|
"pageId": "Sitzplätze",
|
||||||
"runBehaviour": "MANUAL",
|
"runBehaviour": "ON_PAGE_LOAD",
|
||||||
"userSetOnLoad": false
|
"userSetOnLoad": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
"responsiveBehavior": "fill",
|
"responsiveBehavior": "fill",
|
||||||
"rightColumn": 13,
|
"rightColumn": 13,
|
||||||
"shouldTruncate": false,
|
"shouldTruncate": false,
|
||||||
"text": "{{appsmith.store.sid}}\n",
|
"text": "{{ appsmith.store[\"Userinfo\"] }}\n",
|
||||||
"textAlign": "LEFT",
|
"textAlign": "LEFT",
|
||||||
"textColor": "#231F20",
|
"textColor": "#231F20",
|
||||||
"topRow": 27,
|
"topRow": 27,
|
||||||
|
|||||||
Reference in New Issue
Block a user