浏览代码

Fix #8334 to at least revert back to previous behavior

Gabriel Horner 2 年之前
父节点
当前提交
daba5ae1b8
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/main/frontend/components/query_table.cljs

+ 3 - 1
src/main/frontend/components/query_table.cljs

@@ -170,7 +170,9 @@
                               [:string (when-let [updated-at (:block/updated-at item)]
                                          (date/int->local-time-2 updated-at))]
 
-                              [:string (get-in item [:block/properties-text-values column])])]
+                              [:string (or (get-in item [:block/properties-text-values column])
+                                           ;; Fallback to property relationships for page blocks
+                                           (get-in item [:block/properties column]))])]
                   [:td.whitespace-nowrap {:on-mouse-down (fn [] (reset! select? false))
                                           :on-mouse-move (fn [] (reset! select? true))
                                           :on-mouse-up (fn []