mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
enhance(plugin): add web flag for the marketplace plugin
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
(if-let [res (and res (bean/->clj res))]
|
||||
(let [pkgs (:packages res)
|
||||
pkgs (if (util/electron?) pkgs
|
||||
(some->> pkgs (filterv #(not (true? (:effect %))))))]
|
||||
(some->> pkgs (filterv #(or (true? (:web %)) (not (true? (:effect %)))))))]
|
||||
(state/set-state! :plugin/marketplace-pkgs pkgs)
|
||||
(resolve pkgs))
|
||||
(reject nil)))]
|
||||
|
||||
Reference in New Issue
Block a user