mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
Enable two disabled linters and bump kondo dep
All the fixes were on used-underscored-binding
This commit is contained in:
committed by
Tienson Qin
parent
dda2c9c92a
commit
51c318e2da
@@ -170,13 +170,13 @@
|
||||
(file-sync/pick-page-histories-panel graph-uuid page-name)
|
||||
{:id :page-histories :label "modal-page-histories"}))
|
||||
|
||||
(defmethod handle :graph/open-new-window [[ev repo]]
|
||||
(defmethod handle :graph/open-new-window [[_ev repo]]
|
||||
(p/let [current-repo (state/get-current-repo)
|
||||
target-repo (or repo current-repo)
|
||||
_ (repo-handler/persist-db! current-repo persist-db-noti-m) ;; FIXME: redundant when opening non-current-graph window
|
||||
_ (when-not (= current-repo target-repo)
|
||||
(repo-handler/broadcast-persist-db! repo))]
|
||||
(ui-handler/open-new-window! ev repo)))
|
||||
(ui-handler/open-new-window! repo)))
|
||||
|
||||
(defmethod handle :graph/migrated [[_ _repo]]
|
||||
(js/alert "Graph migrated."))
|
||||
|
||||
Reference in New Issue
Block a user