Update table block to work with views
This commit is contained in:
parent
e77644ce11
commit
df676bbe9e
|
@ -53,7 +53,8 @@
|
||||||
$: editTitle = getEditTitle(detailsFormBlockId, primaryDisplay)
|
$: editTitle = getEditTitle(detailsFormBlockId, primaryDisplay)
|
||||||
$: normalFields = getNormalFields(schema)
|
$: normalFields = getNormalFields(schema)
|
||||||
$: rowClickActions =
|
$: rowClickActions =
|
||||||
clickBehaviour === "actions" || dataSource?.type !== "table"
|
clickBehaviour === "actions" ||
|
||||||
|
(dataSource?.type !== "table" && dataSource?.type !== "viewV2")
|
||||||
? onClick
|
? onClick
|
||||||
: [
|
: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue