mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 02:39:56 +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) {
|
||||
var added = items.filter(this.addOne);
|
||||
this.emit('added', added);
|
||||
this.dupeCheck = true;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -292,7 +292,6 @@ define(
|
||||
*/
|
||||
function finishProcessing() {
|
||||
telemetryCollection.add(rowData);
|
||||
telemetryCollection.dupeCheck = true;
|
||||
scope.rows = telemetryCollection.telemetry;
|
||||
scope.loading = false;
|
||||
|
||||
@ -378,7 +377,6 @@ define(
|
||||
function newData(domainObject, datum) {
|
||||
limitEvaluator = telemetryApi.limitEvaluator(domainObject);
|
||||
added = telemetryCollection.add([table.getRowValues(limitEvaluator, datum)]);
|
||||
this.telemetry.dupeCheck = true;
|
||||
}
|
||||
|
||||
objects.forEach(function (object) {
|
||||
|
Loading…
Reference in New Issue
Block a user