mirror of
https://github.com/nasa/openmct.git
synced 2025-02-19 17:08:17 +00:00
add clock to no styles objects, initialize event message generators with configurations
This commit is contained in:
parent
d92a2b71d0
commit
9d92ba9893
@ -35,6 +35,9 @@ export default function EventGeneratorPlugin(options) {
|
||||
object.telemetry = {
|
||||
duration: 5
|
||||
};
|
||||
object.configuration = {
|
||||
objectStyles: {}
|
||||
};
|
||||
}
|
||||
});
|
||||
openmct.telemetry.addProvider(new EventTelemetryProvider());
|
||||
@ -50,6 +53,9 @@ export default function EventGeneratorPlugin(options) {
|
||||
object.telemetry = {
|
||||
duration: 2.5
|
||||
};
|
||||
object.configuration = {
|
||||
objectStyles: {}
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -25,7 +25,14 @@ import mount from 'utils/mount';
|
||||
import StylesInspectorView from './StylesInspectorView.vue';
|
||||
import stylesManager from './StylesManager.js';
|
||||
|
||||
const NON_STYLABLE_TYPES = ['folder', 'webPage', 'conditionSet', 'summary-widget', 'hyperlink'];
|
||||
const NON_STYLABLE_TYPES = [
|
||||
'folder',
|
||||
'webPage',
|
||||
'conditionSet',
|
||||
'summary-widget',
|
||||
'hyperlink',
|
||||
'clock'
|
||||
];
|
||||
|
||||
function isLayoutObject(selection, objectType) {
|
||||
//we allow conditionSets to be styled if they're part of a layout
|
||||
|
Loading…
x
Reference in New Issue
Block a user