mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
enhance(plugin): auto updates for web plugins
This commit is contained in:
@@ -2035,7 +2035,7 @@ Similar to re-frame subscriptions"
|
||||
([theme?] (get-enabled?-installed-plugins theme? true false false))
|
||||
([theme? enabled? include-unpacked? include-all?]
|
||||
(filterv
|
||||
#(and (if include-unpacked? true (:iir %))
|
||||
#(and (if include-unpacked? true (or (:webMode %) (:iir %)))
|
||||
(if-not (boolean? enabled?) true (= (not enabled?) (boolean (get-in % [:settings :disabled]))))
|
||||
(or include-all? (if (boolean? theme?) (= (boolean theme?) (:theme %)) true)))
|
||||
(vals (:plugin/installed-plugins @state)))))
|
||||
|
||||
Reference in New Issue
Block a user