[#3273] added readerToString() JSVM helper

This commit is contained in:
Gani Georgiev committed 2023-09-10 10:46:19 +03:00
1 parent b2c8f394af
commit 0ca86a0c87
38 files changed
+3956 -3877

No files matched your search

@@ -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);
}
}