File tree 3 files changed +8
-5
lines changed
comps/controls/actionSelector
lowcoder-design/src/components
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,12 @@ export const KeyValueList = (props: {
82
82
{ props . list . map ( ( item , index ) => (
83
83
< KeyValueListItem key = { index /* FIXME: find a proper key instead of `index` */ } >
84
84
{ item }
85
- < DelIcon
86
- onClick = { ( ) => props . list . length > 1 && props . onDelete ( item , index ) }
87
- $forbidden = { props . list . length === 1 }
88
- />
85
+ { ! props . isStatic &&
86
+ < DelIcon
87
+ onClick = { ( ) => props . list . length > 1 && props . onDelete ( item , index ) }
88
+ $forbidden = { props . list . length === 1 }
89
+ />
90
+ }
89
91
</ KeyValueListItem >
90
92
) ) }
91
93
{ ! props . isStatic &&
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const ExecuteQueryPropertyView = ({
57
57
58
58
const getVariableOptions = useCallback ( ( editorState ?: EditorState ) => {
59
59
return comp . children . queryVariables . propertyView ( {
60
- label : trans ( "eventHandler.queryParams " ) ,
60
+ label : trans ( "eventHandler.queryVariables " ) ,
61
61
layout : "vertical" ,
62
62
isStatic : true ,
63
63
keyFixed : true ,
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ export const en = {
277
277
"moduleEvent" : "Module Event" ,
278
278
"goToApp" : "Go to an other App" ,
279
279
"queryParams" : "Query Parameters" ,
280
+ "queryVariables" : "Query Variables" ,
280
281
"hashParams" : "Hash Parameters" ,
281
282
"showNotification" : "Show a Notification" ,
282
283
"text" : "Text" ,
You can’t perform that action at this time.
0 commit comments