mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
refactor(plugin): names
This commit is contained in:
@@ -143,8 +143,8 @@
|
||||
(state/set-state! :plugin/installing pkg)
|
||||
|
||||
(-> (load-marketplace-plugins false)
|
||||
(p/then (fn [mfts]
|
||||
(let [mft (some #(when (= (:id %) id) %) mfts)]
|
||||
(p/then (fn [manifests]
|
||||
(let [mft (some #(when (= (:id %) id) %) manifests)]
|
||||
;;TODO: (throw (js/Error. [:not-found-in-marketplace id]))
|
||||
(ipc/ipc :updateMarketPlugin (merge (dissoc pkg :logger) mft)))
|
||||
true))
|
||||
|
||||
Reference in New Issue
Block a user