enhance: enable shift+click for both favorites and recent

This commit is contained in:
Tienson Qin
2021-10-06 12:53:10 +08:00
parent 7bd42cdee3
commit fa43bd73e8
2 changed files with 19 additions and 4 deletions

View File

@@ -746,7 +746,6 @@
(update-state! :sidebar/blocks (fn [blocks]
(->> (remove #(= (second %) db-id) blocks)
(cons [repo db-id block-type block-data])
; FIXME: No need to call `distinct`?
(distinct))))
(open-right-sidebar!)
(when-let [elem (gdom/getElementByClass "cp__right-sidebar-scrollable")]