Clear checked rows when refreshing async grid data

we don't want to accidentally "remember" checked rows which aren't currently
visible...  at least not yet / by default
This commit is contained in:
Lance Edgar 2019-07-01 13:21:59 -05:00
parent d087071fc9
commit 744347c269

View file

@ -53,6 +53,8 @@ let TailboneGrid = {
this.firstItem = data.first_item
this.lastItem = data.last_item
this.loading = false
// TODO: should "merge" checked results from server?
this.checkedRows = []
})
.catch((error) => {
this.data = []