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

fix: query-table toggle not working for file graphs

Gabriel Horner пре 1 година
родитељ
комит
e7d7e55b28
1 измењених фајлова са 1 додато и 1 уклоњено
  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")))