diff --git a/packages/app/src/components/form.fields/sub-table/Table.tsx b/packages/app/src/components/form.fields/sub-table/Table.tsx index 7c56fee8e..f877a7048 100644 --- a/packages/app/src/components/form.fields/sub-table/Table.tsx +++ b/packages/app/src/components/form.fields/sub-table/Table.tsx @@ -28,7 +28,7 @@ export default function Table(props: SimpleTableProps) { const { schema = {}, associatedKey, value, onChange, __parent } = props; console.log({props, associatedKey, schema, __parent}) const { collection_name, name } = schema; - const viewName = `${collection_name}.${name}.table`; + const viewName = `${collection_name}.${name}.${schema.viewName||'table'}`; return ( <>