mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 18:06:59 +00:00
Merge remote-tracking branch 'origin' into new-widget
This commit is contained in:
commit
6ff5ce78e1
@ -377,8 +377,10 @@ define([
|
|||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
updateFiltersAndRefresh: function (updatedFilters) {
|
updateFiltersAndRefresh: function (updatedFilters) {
|
||||||
if (this.filters && !_.isEqual(this.filters, updatedFilters)) {
|
let deepCopiedFilters = JSON.parse(JSON.stringify(updatedFilters));
|
||||||
this.filters = updatedFilters;
|
|
||||||
|
if (this.filters && !_.isEqual(this.filters, deepCopiedFilters)) {
|
||||||
|
this.filters = deepCopiedFilters;
|
||||||
this.reset();
|
this.reset();
|
||||||
if (this.unsubscribe) {
|
if (this.unsubscribe) {
|
||||||
this.unsubscribe();
|
this.unsubscribe();
|
||||||
@ -386,7 +388,7 @@ define([
|
|||||||
}
|
}
|
||||||
this.fetch();
|
this.fetch();
|
||||||
} else {
|
} else {
|
||||||
this.filters = updatedFilters;
|
this.filters = deepCopiedFilters;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user