add clock to no styles objects, initialize event message generators with configurations

This commit is contained in:
Jamie V 2025-02-11 12:39:53 -08:00
parent d92a2b71d0
commit 9d92ba9893
2 changed files with 14 additions and 1 deletions

View File

@ -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: {}
};
}
});

View File

@ -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