Skip to content

Commit

Permalink
Revert "fix: remove exclamation mark"
Browse files Browse the repository at this point in the history
This reverts commit a8a93cc.
  • Loading branch information
henrikmv committed Nov 17, 2023
1 parent 39a038a commit 25d2ac4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class D2SectionPlain extends React.PureComponent<Props> {
renderSection(sectionProps) {
const { sectionMetaData, applyCustomFormClass, classes, sectionId, ...passOnProps } = sectionProps;

if (sectionMetaData.showContainer || this.props.formHorizontal) {
if (!sectionMetaData.showContainer || this.props.formHorizontal) {
return (
// $FlowFixMe[cannot-spread-inexact] automated comment
<D2SectionFields
Expand All @@ -86,7 +86,6 @@ class D2SectionPlain extends React.PureComponent<Props> {
/>
);
}

return (
<div
data-test="d2-section-vertical"
Expand Down

0 comments on commit 25d2ac4

Please sign in to comment.