summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: {