Browse Source

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 years ago
parent
commit
023d0af8db
1 changed files with 1 additions and 1 deletions
  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)))