mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
remove row if user unmarks in showMarkedRowsOnly mode
This commit is contained in:
parent
62774678a7
commit
300acd6ec8
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user