mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Time Conductor] Removed redundant getTimeSystem function
This commit is contained in:
parent
d88e905c65
commit
95202611ea
@ -159,18 +159,6 @@ define(
|
||||
})[0];
|
||||
};
|
||||
|
||||
/**
|
||||
* Given a key for a time system, retrieve the time system object.
|
||||
* @private
|
||||
* @param key
|
||||
* @returns {TimeSystem}
|
||||
*/
|
||||
TimeConductorController.prototype.getTimeSystem = function (key) {
|
||||
return this.timeAPI.getAllTimeSystems().filter(function (timeSystem) {
|
||||
return timeSystem.key === key;
|
||||
})[0];
|
||||
};
|
||||
|
||||
/**
|
||||
* Activate the selected menu option. Menu options correspond to clocks.
|
||||
* A distinction is made to avoid confusion between the menu options and
|
||||
|
Loading…
x
Reference in New Issue
Block a user