Skip to content

Commit

Permalink
Changes for tabs visibility and priority
Browse files Browse the repository at this point in the history
- Added `objectStyles: {}` to initialize functions for multiple objects:
  - Condition Widget
  - Gauge
  - LAD Table
  • Loading branch information
charlesh88 committed Jan 17, 2025
1 parent 3527e4e commit 087fbd3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/plugins/LADTable/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export default function plugin() {
cssClass: 'icon-tabular-lad',
initialize(domainObject) {
domainObject.composition = [];
domainObject.configuration = {

Check warning on line 42 in src/plugins/LADTable/plugin.js

View check run for this annotation

Codecov / codecov/patch

src/plugins/LADTable/plugin.js#L42

Added line #L42 was not covered by tests
objectStyles: {}
};
}
});

Expand Down
4 changes: 3 additions & 1 deletion src/plugins/conditionWidget/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export default function plugin() {
creatable: true,
cssClass: 'icon-condition-widget',
initialize(domainObject) {
domainObject.configuration = {};
domainObject.configuration = {
objectStyles: {}
};
domainObject.label = 'Condition Widget';
domainObject.conditionalLabel = '';
domainObject.url = '';
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/gauge/GaugePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ export default function () {
max: 100,
min: 0,
precision: 2
}
},
objectStyles: {}
};
},
form: [
Expand Down

0 comments on commit 087fbd3

Please sign in to comment.