mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
dependencies upgrade (#12460)
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
(defn import-chosen-graph
|
||||
[repo]
|
||||
(p/let [_ (persist-db/<unsafe-delete repo)]
|
||||
(notification/show! (str "Graph updated! Switching to graph ...") :success)
|
||||
(notification/show! "Graph updated! Switching to graph ..." :success)
|
||||
(state/pub-event! [:graph/switch repo])))
|
||||
|
||||
(defn ^:export replace-graph-with-db-file []
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
(ns frontend.handler.export.common
|
||||
"common fns for exporting.
|
||||
exclude some fns which produce lazy-seq, which can cause strange behaviors
|
||||
when use together with dynamic var."
|
||||
(:refer-clojure :exclude [map filter mapcat concat remove])
|
||||
"Common functions for exporting."
|
||||
(:require [clojure.string :as string]
|
||||
[frontend.db.conn :as conn]
|
||||
[frontend.state :as state]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
(ns frontend.handler.export.opml
|
||||
"export blocks/pages as opml"
|
||||
(:refer-clojure :exclude [map filter mapcat concat remove newline])
|
||||
(:require ["/frontend/utils" :as utils]
|
||||
[clojure.string :as string]
|
||||
[clojure.zip :as z]
|
||||
|
||||
@@ -274,7 +274,7 @@
|
||||
(notification/show!
|
||||
(str
|
||||
(if (= :error type) "[Error]" "")
|
||||
(str "<" (:id payload) "> ")
|
||||
"<" (:id payload) "> "
|
||||
msg) type)))
|
||||
|
||||
(when-not fake-error?
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
(ns frontend.handler.repo
|
||||
"System-component-like ns that manages user's repos/graphs"
|
||||
(:refer-clojure :exclude [clone])
|
||||
(:require [clojure.string :as string]
|
||||
[electron.ipc :as ipc]
|
||||
[frontend.config :as config]
|
||||
|
||||
Reference in New Issue
Block a user