Ver Fonte

fix: query-table toggle not working for file graphs

Gabriel Horner há 1 ano atrás
pai
commit
e7d7e55b28
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/main/frontend/components/query.cljs

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

@@ -160,7 +160,7 @@
                        collapsed?
                        (:block/collapsed? current-block)))
         built-in-collapsed? (and collapsed? built-in?)
-        query-table? (get current-block (pu/get-pid :logseq.property/query-table))
+        query-table? (pu/get-block-property-value current-block :logseq.property/query-table)
         table? (or table-view?
                    query-table?
                    (and (string? query) (string/ends-with? (string/trim query) "table")))