diff --git a/src/plugins/telemetryTable/components/table.vue b/src/plugins/telemetryTable/components/table.vue index 11f5da61c0..21d950af36 100644 --- a/src/plugins/telemetryTable/components/table.vue +++ b/src/plugins/telemetryTable/components/table.vue @@ -117,7 +117,7 @@ title="Deselect All" @click="unmarkAllRows()" > - Deselect All + {{ `Deselect ${marking.disableMultiSelect ? '' : 'All'}` }} @@ -303,6 +303,7 @@ export default { default() { return { enable: false, + disableMultiSelect: false, useAlternateControlBar: false, rowName: '', rowNamePlural: "" @@ -787,6 +788,11 @@ export default { this.$set(markedRow, 'marked', true); this.pause(); + if (this.marking.disableMultiSelect) { + this.unmarkAllRows(); + insertMethod = 'push'; + } + this.markedRows[insertMethod](markedRow); }, unmarkAllRows(skipUnpause) { @@ -800,7 +806,7 @@ export default { return; } - if (!this.markedRows.length) { + if (!this.markedRows.length || this.marking.disableMultiSelect) { this.markRow(rowIndex); } else { if (this.markedRows.length > 1) {