remove row if user unmarks in showMarkedRowsOnly mode

This commit is contained in:
Deep Tailor 2020-02-28 11:12:49 -08:00
parent 62774678a7
commit 300acd6ec8

View File

@ -713,6 +713,10 @@ export default {
row.marked = false; row.marked = false;
this.markedRows.splice(positionInMarkedArray, 1); this.markedRows.splice(positionInMarkedArray, 1);
if (this.isShowingMarkedRowsOnly) {
this.visibleRows.splice(rowIndex, 1);
}
} else if (this.markedRows.length === 1) { } else if (this.markedRows.length === 1) {
this.unmarkAllRows(); this.unmarkAllRows();
} }