This commit is contained in:
Florian Bernard
2026-08-28 14:36:49 +00:00
parent d6e186a7ed
commit 3168c4ac01
2 changed files with 13 additions and 9 deletions
@@ -1,6 +1,10 @@
export default { export default {
async importLocalStoreCode() { async listStorageKeys() {
await storeValue("imported_code", "TEST123", true); const keys = [];
return "TEST123"; for (let i = 0; i < window.localStorage.length; i++) {
keys.push(window.localStorage.key(i));
}
await storeValue("storage_keys", keys, true);
return keys;
} }
} }
@@ -1,6 +1,6 @@
{ {
"gitSyncId": "6a919708c45e81bd1f22f312_d07c586e-c647-49e0-9443-9629981043ec", "gitSyncId": "6a919708c45e81bd1f22f312_09b8040f-0006-45bf-b6d0-b505240f4484",
"id": "Sitzplätze_Userdata_catch.importLocalStoreCode", "id": "Sitzplätze_Userdata_catch.listStorageKeys",
"pluginId": "js-plugin", "pluginId": "js-plugin",
"pluginType": "JS", "pluginType": "JS",
"unpublishedAction": { "unpublishedAction": {
@@ -22,10 +22,10 @@
"key": "body" "key": "body"
} }
], ],
"fullyQualifiedName": "Userdata_catch.importLocalStoreCode", "fullyQualifiedName": "Userdata_catch.listStorageKeys",
"name": "importLocalStoreCode", "name": "listStorageKeys",
"pageId": "Sitzplätze", "pageId": "Sitzplätze",
"runBehaviour": "ON_PAGE_LOAD", "runBehaviour": "MANUAL",
"userSetOnLoad": true "userSetOnLoad": false
} }
} }