summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/DataTable.vue
diff options
context:
space:
mode:
authorUdo Walter2019-02-22 05:48:08 +0100
committerUdo Walter2019-02-22 05:48:08 +0100
commitfafc57935efb9f0a2ea78a4c15648dcbf14573b6 (patch)
tree9a0f9dc20c4aa9d648e89703e5c59c42e185a3be /webapp/src/components/DataTable.vue
parent[webapp/datatable] fix table being empty before anything triggered the filtering (diff)
downloadbas-fafc57935efb9f0a2ea78a4c15648dcbf14573b6.tar.gz
bas-fafc57935efb9f0a2ea78a4c15648dcbf14573b6.tar.xz
bas-fafc57935efb9f0a2ea78a4c15648dcbf14573b6.zip
[webapp/datatable] small bug fix
Diffstat (limited to 'webapp/src/components/DataTable.vue')
-rw-r--r--webapp/src/components/DataTable.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/src/components/DataTable.vue b/webapp/src/components/DataTable.vue
index 98ce097..82703c1 100644
--- a/webapp/src/components/DataTable.vue
+++ b/webapp/src/components/DataTable.vue
@@ -252,6 +252,8 @@ export default {
if (tmp[row.data.id] === true) {
row.selected = true
this.selected.push(row.data)
+ } else {
+ row.selected = false
}
})
if (this.filteredRows) this.calcSelectState()