ui: Fix loading problems when themes arrived to late
This commit is contained in:
parent
e3057726e8
commit
941e1c16d5
5 changed files with 40 additions and 41 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Reference in a new issue