[#3273] added readerToString() JSVM helper

This commit is contained in:
Gani Georgiev
2023-09-10 10:46:19 +03:00
parent b2c8f394af
commit 0ca86a0c87
38 changed files with 3956 additions and 3877 deletions
@@ -133,7 +133,7 @@
try {
const raw = window.localStorage.getItem(draftKey());
if (raw) {
return new Record(JSON.parse(raw));
return JSON.parse(raw);
}
} catch (_) {}
@@ -146,7 +146,7 @@
} catch (e) {
// ignore local storage errors in case the serialized data
// exceed the browser localStorage single value quota
console.warn("updateDraft failure:", e)
console.warn("updateDraft failure:", e);
}
}