Load whole data for shorter pages

This commit is contained in:
Tienson Qin
2024-02-03 19:02:25 +08:00
parent 6f90958e4b
commit fa9d5fac1e
3 changed files with 28 additions and 20 deletions

View File

@@ -576,14 +576,9 @@
(widgets/demo-graph-alert))
(cond
(not indexeddb-support?)
(or db-restoring? (not indexeddb-support?))
nil
db-restoring?
[:div.mt-20
[:div.ls-center
(ui/loading)]]
:else
[:div
{:class (if (or onboarding-and-home? margin-less-pages?) "" (util/hiccup->class "mx-auto.pb-24"))