mirror of
https://github.com/logseq/logseq.git
synced 2026-05-26 13:44:13 +00:00
fix: inlined db-based-graph? calls in db-property
Addressed fixmes for db-based-graph fns that were inlined to prevent circular dependencies b/n db-property and sqlite-util. Moved multi graph fns to db-property-util and existing db-property-util to db-property-build to address this
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
(:require [logseq.db.sqlite.db :as sqlite-db]
|
||||
[logseq.db.sqlite.util :as sqlite-util]
|
||||
[logseq.db.sqlite.create-graph :as sqlite-create-graph]
|
||||
[logseq.db.frontend.property.util :as db-property-util]
|
||||
[logseq.db.frontend.property.build :as db-property-build]
|
||||
[logseq.outliner.cli.pipeline :as cli-pipeline]
|
||||
[logseq.common.util :as common-util]
|
||||
[clojure.string :as string]
|
||||
@@ -173,7 +173,7 @@
|
||||
(fn [[prop-name]]
|
||||
(if (get-in properties [prop-name :closed-values])
|
||||
(let [db-ident (db-property/create-user-property-ident-from-name (name prop-name))]
|
||||
(db-property-util/build-closed-values
|
||||
(db-property-build/build-closed-values
|
||||
db-ident
|
||||
prop-name
|
||||
(assoc (get properties prop-name) :db/ident db-ident)
|
||||
|
||||
Reference in New Issue
Block a user