ui: Fix loading problems when themes arrived to late

This commit is contained in:
nemunaire 2021-09-01 01:42:56 +02:00
commit 941e1c16d5
5 changed files with 40 additions and 41 deletions

View file

@ -57,7 +57,7 @@
}
refresh_interval_themes = setInterval(refresh_themes, interval);
themesStore.update(await fetch('/themes.json'), cb);
await themesStore.update(await fetch('/themes.json'), cb);
}
let refresh_interval_my = null;