summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorAnton L. Šijanec <sijanecantonluka@gmail.com>2020-05-14 22:32:37 +0200
committerAnton L. Šijanec <sijanecantonluka@gmail.com>2020-05-14 22:32:37 +0200
commit69db5055d1c103db4910d872beb9584a75c77c8d (patch)
treee1fa0742878b3f37ba172a0eb24eb712cde1021d /js
parentnaredil skelet DB strukture messages (TypeError: Cannot read property '0' of null at messaging.js:129) (diff)
downloadbeziapp-69db5055d1c103db4910d872beb9584a75c77c8d.tar
beziapp-69db5055d1c103db4910d872beb9584a75c77c8d.tar.gz
beziapp-69db5055d1c103db4910d872beb9584a75c77c8d.tar.bz2
beziapp-69db5055d1c103db4910d872beb9584a75c77c8d.tar.lz
beziapp-69db5055d1c103db4910d872beb9584a75c77c8d.tar.xz
beziapp-69db5055d1c103db4910d872beb9584a75c77c8d.tar.zst
beziapp-69db5055d1c103db4910d872beb9584a75c77c8d.zip
Diffstat (limited to 'js')
-rw-r--r--js/setup-storage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/setup-storage.js b/js/setup-storage.js
index 0c85a89..c0d6705 100644
--- a/js/setup-storage.js
+++ b/js/setup-storage.js
@@ -14,7 +14,7 @@ async function setupStorage(force = false) {
localforage.setItem("gradings", []),
localforage.setItem("grades", []),
localforage.setItem("absences", {}),
- localforage.setItem("messages", [{},{},{}]), // see messages.js:129, commit 8eb9ca9caca30fbbe023243657535ab4088be377
+ localforage.setItem("messages", { "0": {}, "1": {}, "2": {}}), // see messages.js:129, commit 8eb9ca9caca30fbbe023243657535ab4088be377
localforage.setItem("directory", {}),
localforage.setItem("meals", {})
];