mirror of
https://github.com/logseq/logseq.git
synced 2026-05-18 09:52:22 +00:00
put hidden properties at top of bidirectional properties
This commit is contained in:
@@ -952,15 +952,15 @@
|
||||
:class (util/classnames [{:ls-page-properties page?}])
|
||||
:tab-index 0}
|
||||
[:<>
|
||||
(when-not class?
|
||||
(hidden-properties-cp block hidden-properties
|
||||
(assoc opts :show-hidden-properties? show-hidden-properties?)))
|
||||
|
||||
(when show-properties-panel?
|
||||
[:div.properties-panel.gap-8
|
||||
(properties-section block properties' opts)
|
||||
(bidirectional-properties-section bidirectional-properties)])
|
||||
|
||||
(when-not class?
|
||||
(hidden-properties-cp block hidden-properties
|
||||
(assoc opts :show-hidden-properties? show-hidden-properties?)))
|
||||
|
||||
(when class?
|
||||
(let [properties (->> (:logseq.property.class/properties block)
|
||||
(map (fn [e] [(:db/ident e)])))
|
||||
|
||||
Reference in New Issue
Block a user