mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
perf: don't load properties and classes for initial data
This commit also fixed the issue that some pages such as "Status" will be shown as lower cased.
This commit is contained in:
@@ -576,9 +576,15 @@
|
||||
(widgets/demo-graph-alert))
|
||||
|
||||
(cond
|
||||
(or db-restoring? (not indexeddb-support?))
|
||||
(not indexeddb-support?)
|
||||
nil
|
||||
|
||||
db-restoring?
|
||||
[:div.space-y-2
|
||||
(shui/skeleton {:class "h-8 w-1/3 mb-8"})
|
||||
(shui/skeleton {:class "h-6 w-full"})
|
||||
(shui/skeleton {:class "h-6 w-full"})]
|
||||
|
||||
:else
|
||||
[:div
|
||||
{:class (if (or onboarding-and-home? margin-less-pages?) "" (util/hiccup->class "mx-auto.pb-24"))
|
||||
|
||||
Reference in New Issue
Block a user