mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
Remove alarm set when removing series
Remove alarm marker sets when removing series, so that they don't continue to display. Fixes https://github.com/nasa/openmct/issues/1935
This commit is contained in:
parent
1f86a5a131
commit
a958055f50
@ -231,6 +231,10 @@ function (
|
||||
this.pointSets.splice(this.pointSets.indexOf(pointSet), 1);
|
||||
pointSet.destroy();
|
||||
}, this);
|
||||
if (elements.alarmSet) {
|
||||
elements.alarmSet.destroy();
|
||||
this.alarmSets.splice(this.alarmSets.indexOf(elements.alarmSet), 1);
|
||||
}
|
||||
this.seriesElements.delete(series);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user