Forráskód Böngészése

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 éve
szülő
commit
023d0af8db
1 módosított fájl, 1 hozzáadás és 1 törlés
  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)))