We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a60384 commit 534e45cCopy full SHA for 534e45c
client/packages/lowcoder/src/comps/comps/textComp.tsx
@@ -124,7 +124,7 @@ let TextTmpComp = (function () {
124
const childrenMap = {
125
text: stringExposingStateControl(
126
"text",
127
- trans("textShow.text", { name: "{{ currentUser.name}}" })
+ trans("textShow.text", { name: "{{currentUser.name}}" })
128
),
129
autoHeight: AutoHeightControl,
130
type: dropdownControl(typeOptions, "markdown"),
@@ -148,11 +148,7 @@ let TextTmpComp = (function () {
148
textAlign: props.horizontalAlignment,
149
}}
150
>
151
- {props.type === "markdown" ? (
152
- <TacoMarkDown>{value}</TacoMarkDown>
153
- ) : (
154
- value
155
- )}
+ {props.type === "markdown" ? <TacoMarkDown>{value}</TacoMarkDown> : value}
156
</TextContainer>
157
);
158
})
0 commit comments