datatable: terminology updated: index > view

This commit is contained in:
Michael Shanks 2020-04-02 06:30:20 +01:00
parent acb49a305b
commit 2f1b1bf0dc
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
export default ({ indexes, helpers }) => export default ({ indexes, helpers }) =>
indexes.map(i => ({ indexes.map(i => ({
name: `Table based on index: ${i.name} `, name: `Table based on view: ${i.name} `,
props: tableProps( props: tableProps(
i, i,
helpers.indexSchema(i).filter(c => !excludedColumns.includes(c.name)) helpers.indexSchema(i).filter(c => !excludedColumns.includes(c.name))