mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
fix(plugin): missing renderer for the pagebar ui items
This commit is contained in:
@@ -1104,16 +1104,17 @@
|
||||
[:div.ui-items-container
|
||||
{:data-type (name type)}
|
||||
|
||||
;; manage plugin buttons
|
||||
(when toolbar?
|
||||
[:<>
|
||||
(header-ui-items-list-wrap
|
||||
(for [[_ {:keys [key pinned?] :as opts} pid] items]
|
||||
(when (or (not toolbar?)
|
||||
(not (set? pinned-items)) pinned?)
|
||||
(rum/with-key (ui-item-renderer pid type opts) key))))
|
||||
[:<>
|
||||
(header-ui-items-list-wrap
|
||||
(for [[_ {:keys [key pinned?] :as opts} pid] items]
|
||||
(when (or (not toolbar?)
|
||||
(not (set? pinned-items)) pinned?)
|
||||
(rum/with-key (ui-item-renderer pid type opts) key))))
|
||||
|
||||
;; manage plugin buttons
|
||||
(when toolbar?
|
||||
(let [updates-coming (state/sub :plugin/updates-coming)]
|
||||
(toolbar-plugins-manager-list updates-coming items))])]))))
|
||||
(toolbar-plugins-manager-list updates-coming items)))]]))))
|
||||
|
||||
(rum/defcs hook-ui-fenced-code < rum/reactive
|
||||
[_state content {:keys [render edit] :as _opts}]
|
||||
|
||||
Reference in New Issue
Block a user