File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
client/packages/lowcoder/src/comps/comps Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ let TextTmpComp = (function () {
124
124
const childrenMap = {
125
125
text : stringExposingStateControl (
126
126
"text" ,
127
- trans ( "textShow.text" , { name : "{{ currentUser.name}}" } )
127
+ trans ( "textShow.text" , { name : "{{currentUser.name}}" } )
128
128
) ,
129
129
autoHeight : AutoHeightControl ,
130
130
type : dropdownControl ( typeOptions , "markdown" ) ,
@@ -148,11 +148,7 @@ let TextTmpComp = (function () {
148
148
textAlign : props . horizontalAlignment ,
149
149
} }
150
150
>
151
- { props . type === "markdown" ? (
152
- < TacoMarkDown > { value } </ TacoMarkDown >
153
- ) : (
154
- value
155
- ) }
151
+ { props . type === "markdown" ? < TacoMarkDown > { value } </ TacoMarkDown > : value }
156
152
</ TextContainer >
157
153
) ;
158
154
} )
You can’t perform that action at this time.
0 commit comments