mirror of https://github.com/logseq/logseq
improve(ui): remove warning of macro renderer slot for mobile
parent
2657f5a2f1
commit
c62c7d0ee8
|
@ -1514,9 +1514,10 @@
|
|||
(= name "embed")
|
||||
(macro-embed-cp config arguments)
|
||||
|
||||
(and config/lsp-enabled? (= name "renderer"))
|
||||
(when-let [block-uuid (str (:block/uuid config))]
|
||||
(plugins/hook-ui-slot :macro-renderer-slotted (assoc options :uuid block-uuid)))
|
||||
(= name "renderer")
|
||||
(when config/lsp-enabled?
|
||||
(when-let [block-uuid (str (:block/uuid config))]
|
||||
(plugins/hook-ui-slot :macro-renderer-slotted (assoc options :uuid block-uuid))))
|
||||
|
||||
(get @macro/macros name)
|
||||
((get @macro/macros name) config options)
|
||||
|
|
Loading…
Reference in New Issue