mirror of https://github.com/logseq/logseq
fix: slash command clash for the demo graph
parent
4764dfaa80
commit
b1fa7ee8ad
|
@ -54,7 +54,8 @@
|
|||
command-doc (get item 2)
|
||||
plugin-id (get-in item [1 1 1 :pid])
|
||||
doc (when (state/show-command-doc?) command-doc)
|
||||
icon-name (some-> item (get 3) (name))
|
||||
options (some-> item (get 3))
|
||||
icon-name (some-> (if (map? options) :icon options) (name))
|
||||
command-name (if icon-name
|
||||
[:span.flex.items-center.gap-1
|
||||
(shui/tabler-icon icon-name)
|
||||
|
|
Loading…
Reference in New Issue