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

This commit is contained in:
Deep Tailor 2020-03-23 14:21:46 -07:00
parent 459b2060a5
commit ec978f3a35

View File

@ -181,7 +181,7 @@ define([
} }
refreshData(bounds, isTick) { refreshData(bounds, isTick) {
if (!isTick) { if (!isTick && this.outstandingRequests === 0) {
this.filteredRows.clear(); this.filteredRows.clear();
this.boundedRows.clear(); this.boundedRows.clear();
this.boundedRows.sortByTimeSystem(this.openmct.time.timeSystem()); this.boundedRows.sortByTimeSystem(this.openmct.time.timeSystem());