summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUdo Walter2018-08-06 01:22:34 +0200
committerUdo Walter2018-08-06 01:22:34 +0200
commit063c66f2a2748f2a817d0831e6151981081d3fe8 (patch)
tree5c80a86984101c57b836d692e9eae3dd18c57900
parent[webapp/groups] add browser back/forwared compatibility (diff)
downloadbas-063c66f2a2748f2a817d0831e6151981081d3fe8.tar.gz
bas-063c66f2a2748f2a817d0831e6151981081d3fe8.tar.xz
bas-063c66f2a2748f2a817d0831e6151981081d3fe8.zip
[webapp/searchtable] bugfix
-rw-r--r--webapp/src/components/ComponentSearchTable.vue4
1 files changed, 4 insertions, 0 deletions
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: {