mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 12:18:16 +00:00
Changes for tabs visibility and priority
- Added `objectStyles: {}` to initialize functions for multiple objects: - Condition Widget - Gauge - LAD Table
This commit is contained in:
@ -39,6 +39,9 @@ export default function plugin() {
|
|||||||
cssClass: 'icon-tabular-lad',
|
cssClass: 'icon-tabular-lad',
|
||||||
initialize(domainObject) {
|
initialize(domainObject) {
|
||||||
domainObject.composition = [];
|
domainObject.composition = [];
|
||||||
|
domainObject.configuration = {
|
||||||
|
objectStyles: {}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -34,7 +34,9 @@ export default function plugin() {
|
|||||||
creatable: true,
|
creatable: true,
|
||||||
cssClass: 'icon-condition-widget',
|
cssClass: 'icon-condition-widget',
|
||||||
initialize(domainObject) {
|
initialize(domainObject) {
|
||||||
domainObject.configuration = {};
|
domainObject.configuration = {
|
||||||
|
objectStyles: {}
|
||||||
|
};
|
||||||
domainObject.label = 'Condition Widget';
|
domainObject.label = 'Condition Widget';
|
||||||
domainObject.conditionalLabel = '';
|
domainObject.conditionalLabel = '';
|
||||||
domainObject.url = '';
|
domainObject.url = '';
|
||||||
|
@ -59,7 +59,8 @@ export default function () {
|
|||||||
max: 100,
|
max: 100,
|
||||||
min: 0,
|
min: 0,
|
||||||
precision: 2
|
precision: 2
|
||||||
}
|
},
|
||||||
|
objectStyles: {}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
form: [
|
form: [
|
||||||
|
Reference in New Issue
Block a user