diff --git a/src/main/frontend/components/property/value.cljs b/src/main/frontend/components/property/value.cljs index 1ca9b3d82f..6417323ea3 100644 --- a/src/main/frontend/components/property/value.cljs +++ b/src/main/frontend/components/property/value.cljs @@ -1267,10 +1267,11 @@ (or (= (:db/id v) (:db/id block)) ;; property value self embedded (= (:db/id (:block/link v)) (:db/id block))))] - (if (or (and (de/entity? v) (self-value-or-embedded? v)) - (and (coll? v) (every? de/entity? v) - (some self-value-or-embedded? v)) - (and (= p-block (:db/id block)) (= p-property (:db/id property)))) + (if (and (or (and (de/entity? v) (self-value-or-embedded? v)) + (and (coll? v) (every? de/entity? v) + (some self-value-or-embedded? v)) + (and (= p-block (:db/id block)) (= p-property (:db/id property)))) + (not= :logseq.class/Tag (:db/ident block))) [:div.flex.flex-row.items-center.gap-1 [:div.warning "Self reference"] (shui/button {:variant :outline