From ec978f3a35603d91f7b08df6ebd268b0da163e35 Mon Sep 17 00:00:00 2001 From: Deep Tailor <deep.j.tailor@nasa.gov> Date: Mon, 23 Mar 2020 14:21:46 -0700 Subject: [PATCH] when a time system is changed, it emits a timeSystem update as well as a bounds update, this caused telemetry table to request data twice when users changed time systems --- src/plugins/telemetryTable/TelemetryTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/telemetryTable/TelemetryTable.js b/src/plugins/telemetryTable/TelemetryTable.js index 2bf4e1c700..57b6458ca5 100644 --- a/src/plugins/telemetryTable/TelemetryTable.js +++ b/src/plugins/telemetryTable/TelemetryTable.js @@ -181,7 +181,7 @@ define([ } refreshData(bounds, isTick) { - if (!isTick) { + if (!isTick && this.outstandingRequests === 0) { this.filteredRows.clear(); this.boundedRows.clear(); this.boundedRows.sortByTimeSystem(this.openmct.time.timeSystem());