mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 00:23:54 +00:00
Move DupeCheck inside of Collection
This commit is contained in:
parent
1378b57567
commit
0588f9190a
@ -190,6 +190,7 @@ define(
|
|||||||
TelemetryCollection.prototype.add = function (items) {
|
TelemetryCollection.prototype.add = function (items) {
|
||||||
var added = items.filter(this.addOne);
|
var added = items.filter(this.addOne);
|
||||||
this.emit('added', added);
|
this.emit('added', added);
|
||||||
|
this.dupeCheck = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -292,7 +292,6 @@ define(
|
|||||||
*/
|
*/
|
||||||
function finishProcessing() {
|
function finishProcessing() {
|
||||||
telemetryCollection.add(rowData);
|
telemetryCollection.add(rowData);
|
||||||
telemetryCollection.dupeCheck = true;
|
|
||||||
scope.rows = telemetryCollection.telemetry;
|
scope.rows = telemetryCollection.telemetry;
|
||||||
scope.loading = false;
|
scope.loading = false;
|
||||||
|
|
||||||
@ -378,7 +377,6 @@ define(
|
|||||||
function newData(domainObject, datum) {
|
function newData(domainObject, datum) {
|
||||||
limitEvaluator = telemetryApi.limitEvaluator(domainObject);
|
limitEvaluator = telemetryApi.limitEvaluator(domainObject);
|
||||||
added = telemetryCollection.add([table.getRowValues(limitEvaluator, datum)]);
|
added = telemetryCollection.add([table.getRowValues(limitEvaluator, datum)]);
|
||||||
this.telemetry.dupeCheck = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
objects.forEach(function (object) {
|
objects.forEach(function (object) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user