mirror of
https://github.com/nasa/openmct.git
synced 2025-06-05 00:50:49 +00:00
[Plot] Reset telemetry objects on change
This commit is contained in:
parent
056b3f61ce
commit
eb69e02ce3
@ -9,6 +9,7 @@ define(
|
|||||||
$scope.telemetryObjects = [];
|
$scope.telemetryObjects = [];
|
||||||
|
|
||||||
var linkDomainObject = function(domainObject) {
|
var linkDomainObject = function(domainObject) {
|
||||||
|
$scope.telemetryObjects = [];
|
||||||
if (domainObject.hasCapability('telemetry')) {
|
if (domainObject.hasCapability('telemetry')) {
|
||||||
$scope.telemetryObjects = [domainObject];
|
$scope.telemetryObjects = [domainObject];
|
||||||
} else if (domainObject.hasCapability('delegation')) {
|
} else if (domainObject.hasCapability('delegation')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user