mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: users cant change tags of built-in classes like Tag
Could cause all kinds of bugs. Also moved tags vars to db-class to have a central ns like we do with properties and l.db.frontend.property
This commit is contained in:
committed by
Tienson Qin
parent
953d9e39cf
commit
d624d5e7db
@@ -202,7 +202,7 @@
|
||||
block)
|
||||
tags (remove (fn [t]
|
||||
(or (some-> (:block/raw-title block-e) (ldb/inline-tag? t))
|
||||
(ldb/type-tags (:db/ident t))))
|
||||
(ldb/private-tags (:db/ident t))))
|
||||
(map (fn [tag] (if (number? tag) (db/entity tag) tag)) (:block/tags block)))]
|
||||
(if (seq tags)
|
||||
(str (:block/title block)
|
||||
|
||||
Reference in New Issue
Block a user