1
0
Эх сурвалжийг харах

fix(mobile): tags are not displayed

Tienson Qin 7 сар өмнө
parent
commit
e98e993968

+ 1 - 4
src/main/frontend/components/block.cljs

@@ -2844,10 +2844,7 @@
                       (:block/tags block)
                       (:block/tags block)
                       (remove (fn [t]
                       (remove (fn [t]
                                 (or (ldb/inline-tag? (:block/raw-title block) t)
                                 (or (ldb/inline-tag? (:block/raw-title block) t)
-                                    (if (contains? t :logseq.property.class/hide-from-node)
-                                      (:logseq.property.class/hide-from-node t)
-                                      ;; Mobile app hides by default while everything else doesn't
-                                      (if (util/capacitor-new?) true false))
+                                    (:logseq.property.class/hide-from-node t)
                                     (contains? hidden-internal-tags (:db/ident t))
                                     (contains? hidden-internal-tags (:db/ident t))
                                     (and (util/mobile?) (= (:db/ident t) :logseq.class/Task))))))
                                     (and (util/mobile?) (= (:db/ident t) :logseq.class/Task))))))
           popup-opts {:align :end
           popup-opts {:align :end