mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: recover page icons in recent list
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
(pdf-assets/fix-local-asset-filename original-name)]))
|
||||
|
||||
(defn get-page-icon [page-entity]
|
||||
(let [default-icon (ui/icon "page")
|
||||
(let [default-icon (ui/icon "page" {:extension? true})
|
||||
from-properties (get-in (into {} page-entity) [:block/properties :icon])]
|
||||
(or
|
||||
(when (not= from-properties "") from-properties)
|
||||
|
||||
Reference in New Issue
Block a user