1
0
Fork 0
mirror of synced 2024-10-05 20:44:47 +13:00

Update table block to work with views

This commit is contained in:
Andrew Kingston 2023-08-22 13:39:58 +01:00
parent e77644ce11
commit df676bbe9e

View file

@ -53,7 +53,8 @@
$: editTitle = getEditTitle(detailsFormBlockId, primaryDisplay)
$: normalFields = getNormalFields(schema)
$: rowClickActions =
clickBehaviour === "actions" || dataSource?.type !== "table"
clickBehaviour === "actions" ||
(dataSource?.type !== "table" && dataSource?.type !== "viewV2")
? onClick
: [
{