mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix: remove remaining uses of file graph specific attributes
Removed all file graph uses of :block/namespace, :block/file, :block/type and :block/properties except for graph-parser which still uses them for db importer. Removed all uses of :block/format except for graph-parser and src/main/frontend
This commit is contained in:
4
deps/db/script/query.cljs
vendored
4
deps/db/script/query.cljs
vendored
@@ -39,9 +39,7 @@
|
||||
results (if (:entity options)
|
||||
(map #(when-let [ent (d/entity @conn
|
||||
(if (string? %) (edn/read-string %) %))]
|
||||
(cond-> (into {:db/id (:db/id ent)} ent)
|
||||
(seq (:block/properties ent))
|
||||
(update :block/properties (fn [props] (map (fn [m] (into {} m)) props)))))
|
||||
(into {:db/id (:db/id ent)} ent))
|
||||
(:entity options))
|
||||
;; assumes no :in are in queries
|
||||
(let [query (into (edn/read-string (first args'')) [:in '$ '%])
|
||||
|
||||
Reference in New Issue
Block a user