mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 15:45:00 +00:00
fix: can't delete remote graph
This commit is contained in:
@@ -280,9 +280,8 @@
|
||||
|
||||
(defn get-user-type
|
||||
[repo]
|
||||
(when-let [uuid (ldb/get-graph-rtc-uuid (db/get-db repo))]
|
||||
(-> (some #(when (= uuid (:GraphUUID %)) %) (:rtc/graphs @state/state))
|
||||
:graph<->user-user-type)))
|
||||
(-> (some #(when (= repo (:url %)) %) (:rtc/graphs @state/state))
|
||||
:graph<->user-user-type))
|
||||
|
||||
(defn manager?
|
||||
[repo]
|
||||
|
||||
Reference in New Issue
Block a user