Skip to content

Commit 59429a7

Browse files
committed
formating removed-22
1 parent 3241f15 commit 59429a7

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

client/packages/lowcoder/src/comps/comps/buttonComp/toggleButtonComp.tsx

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,13 @@ const ToggleTmpComp = (function () {
116116
{loadingPropertyView(children)}
117117
</Section>
118118
<Section name={sectionNames.advanced}>
119-
{children.showText.propertyView({
120-
label: trans("toggleButton.showText"),
121-
})}
122-
{children.showText.getView() &&
123-
children.trueText.propertyView({
124-
label: trans("toggleButton.trueLabel"),
125-
})}
119+
{children.showText.propertyView({ label: trans("toggleButton.showText") })}
120+
{children.showText.getView() &&
121+
children.trueText.propertyView({ label: trans("toggleButton.trueLabel") })}
126122
{children.showText.getView() &&
127-
children.falseText.propertyView({
128-
label: trans("toggleButton.falseLabel"),
129-
})}
130-
{children.trueIcon.propertyView({
131-
label: trans("toggleButton.trueIconLabel"),
132-
})}
133-
{children.falseIcon.propertyView({
134-
label: trans("toggleButton.falseIconLabel"),
135-
})}
123+
children.falseText.propertyView({ label: trans("toggleButton.falseLabel") })}
124+
{children.trueIcon.propertyView({ label: trans("toggleButton.trueIconLabel") })}
125+
{children.falseIcon.propertyView({ label: trans("toggleButton.falseIconLabel") })}
136126
{children.showText.getView() &&
137127
children.iconPosition.propertyView({
138128
label: trans("toggleButton.iconPosition"),

0 commit comments

Comments
 (0)