From 063c66f2a2748f2a817d0831e6151981081d3fe8 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Sun, 5 Aug 2018 23:22:34 +0000 Subject: [webapp/searchtable] bugfix --- webapp/src/components/ComponentSearchTable.vue | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webapp/src') diff --git a/webapp/src/components/ComponentSearchTable.vue b/webapp/src/components/ComponentSearchTable.vue index 4838231..98a2a55 100644 --- a/webapp/src/components/ComponentSearchTable.vue +++ b/webapp/src/components/ComponentSearchTable.vue @@ -100,6 +100,7 @@ export default { computedDataTableProps () { return { ...this.dataTableProps, hideActions: true } }, + items () { return this.dataTableProps.items }, headersValues () { return this.dataTableProps.headers.map(x => x.value) }, headerCount () { return this.dataTableProps.headers.length + (this.dataTableProps.selectAll ? 1 : 0) }, rowsPerPage () { return this.pagination.rowsPerPage }, @@ -110,6 +111,9 @@ export default { watch: { rowsPerPage () { this.pagination.page = 1 + }, + items () { + this.pagination.page = 1 } }, methods: { -- cgit v1.2.3-55-g7522