test
This commit is contained in:
@@ -1,17 +1,5 @@
|
||||
export default {
|
||||
async importLocalStoreCode() {
|
||||
const raw = window.localStorage.getItem("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master");
|
||||
if (!raw) return null;
|
||||
|
||||
let value;
|
||||
try {
|
||||
value = JSON.parse(raw);
|
||||
} catch (e) {
|
||||
value = raw;
|
||||
}
|
||||
|
||||
await storeValue("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master", value, true);
|
||||
return value;
|
||||
|
||||
return window.localStorage.getItem("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user