Skip to content

Commit

Permalink
chore: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
marstamm committed Oct 9, 2023
1 parent 8b0c225 commit c535ae1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cloud-element-templates/properties/CustomProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,18 @@ function addCustomGroup(groups, props) {
element,
id,
label,
openByDefault,
openByDefault = true,
properties,
templateId,
tooltip
} = props;

const shouldOpen = typeof openByDefault === 'undefined' ? true : openByDefault;

const customPropertiesGroup = {
id,
label,
component: Group,
entries: [],
shouldOpen,
shouldOpen: openByDefault,
tooltip
};

Expand Down

0 comments on commit c535ae1

Please sign in to comment.