Преглед изворни кода

fix: display properties if they are only hidden ones

If a page or block only had a hidden property like public, we couldn't
see it
Gabriel Horner пре 2 година
родитељ
комит
023d0af8db
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/frontend/components/property.cljs

+ 1 - 1
src/main/frontend/components/property.cljs

@@ -770,7 +770,7 @@
         opts (assoc opts
                     :blocks-container-id (::blocks-container-id state)
                     :hover? @*hover?)]
-    (when-not (and (empty? own-properties)
+    (when-not (and (empty? block-own-properties)
                    (empty? class->properties)
                    (not new-property?)
                    (not (:page-configure? opts)))