Explorar o código

Fix #8334 to at least revert back to previous behavior

Gabriel Horner %!s(int64=2) %!d(string=hai) anos
pai
achega
daba5ae1b8
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 []