mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 05:07:52 +00:00
Merge pull request #2696 from nasa/marking-improvement-tables
An improvement for components using telemetry tables
This commit is contained in:
commit
35d1727dbf
@ -346,6 +346,13 @@ export default {
|
||||
return style;
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
markedRows: {
|
||||
handler(newVal, oldVal) {
|
||||
this.$emit('marked-rows-updated', newVal, oldVal);
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.filterChanged = _.debounce(this.filterChanged, 500);
|
||||
},
|
||||
@ -779,6 +786,7 @@ export default {
|
||||
}
|
||||
},
|
||||
checkForMarkedRows() {
|
||||
this.isShowingMarkedRowsOnly = false;
|
||||
this.markedRows = this.table.filteredRows.getRows().filter(row => row.marked);
|
||||
},
|
||||
showRows(rows) {
|
||||
|
Loading…
Reference in New Issue
Block a user