Userdata Catch test

This commit is contained in:
Florian Bernard
2026-08-28 14:15:56 +00:00
parent e39fba9ebc
commit 1241eba57d
3 changed files with 9 additions and 8 deletions
@@ -1,9 +1,10 @@
export default {
async importLocalStoreCode() {
const value = localStorage.getItem("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master");
if (value !== null) {
await storeValue("APPSMITH_LOCAL_STORE-code", value, true);
}
return value;
const raw = localStorage.getItem("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master");
if (!raw) return null;
const parsed = JSON.parse(raw);
await storeValue("Userinfo", parsed, true);
return parsed;
}
}
@@ -25,7 +25,7 @@
"fullyQualifiedName": "Userdata_catch.importLocalStoreCode",
"name": "importLocalStoreCode",
"pageId": "Sitzplätze",
"runBehaviour": "MANUAL",
"userSetOnLoad": false
"runBehaviour": "ON_PAGE_LOAD",
"userSetOnLoad": true
}
}
+1 -1
View File
@@ -43,7 +43,7 @@
"responsiveBehavior": "fill",
"rightColumn": 13,
"shouldTruncate": false,
"text": "{{appsmith.store.sid}}\n",
"text": "{{ appsmith.store[\"Userinfo\"] }}\n",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 27,