mirror of
https://github.com/logseq/logseq.git
synced 2026-05-27 14:14:24 +00:00
fix: create new property in tag properties
This commit is contained in:
@@ -361,7 +361,6 @@
|
||||
state)}
|
||||
[state block *property-key {:keys [class-schema?]
|
||||
:as opts}]
|
||||
(prn :debug :key *property-key)
|
||||
(let [*property (::property state)
|
||||
*show-new-property-config? (::show-new-property-config? state)
|
||||
*show-class-select? (::show-class-select? state)
|
||||
@@ -388,7 +387,7 @@
|
||||
[:div.flex.flex-row {:on-pointer-down (fn [e] (util/stop-propagation e))}
|
||||
(when (not= @*show-new-property-config? :adding-property)
|
||||
(cond
|
||||
@*show-new-property-config?
|
||||
(or (nil? property) @*show-new-property-config?)
|
||||
(property-type-select property (merge opts
|
||||
{:*property *property
|
||||
:*property-name *property-key
|
||||
|
||||
Reference in New Issue
Block a user