mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 23:53:49 +00:00
Mct4170 - Give indicators priorities (#4322)
* added priority api with an enum for sane priority defaults openmct.priority.LOW: -1000. Should always run last. openmct.priority.DEFAULT: 0. This is the default unless you specify something else. openmct.priority.HIGH: 1000. Should always run first. * allow indicators to be sorted by priority
This commit is contained in:
@ -116,7 +116,8 @@ export default function ClockPlugin(options) {
|
||||
});
|
||||
const indicator = {
|
||||
element: clockIndicator.$mount().$el,
|
||||
key: 'clock-indicator'
|
||||
key: 'clock-indicator',
|
||||
priority: openmct.priority.LOW
|
||||
};
|
||||
|
||||
openmct.indicators.add(indicator);
|
||||
|
Reference in New Issue
Block a user