File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
lowcoder-design/src/components
comps/controls/actionSelector Expand file tree Collapse file tree 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: {
8282 { props . list . map ( ( item , index ) => (
8383 < KeyValueListItem key = { index /* FIXME: find a proper key instead of `index` */ } >
8484 { 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+ }
8991 </ KeyValueListItem >
9092 ) ) }
9193 { ! props . isStatic &&
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const ExecuteQueryPropertyView = ({
5757
5858 const getVariableOptions = useCallback ( ( editorState ?: EditorState ) => {
5959 return comp . children . queryVariables . propertyView ( {
60- label : trans ( "eventHandler.queryParams " ) ,
60+ label : trans ( "eventHandler.queryVariables " ) ,
6161 layout : "vertical" ,
6262 isStatic : true ,
6363 keyFixed : true ,
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ export const en = {
277277 "moduleEvent" : "Module Event" ,
278278 "goToApp" : "Go to an other App" ,
279279 "queryParams" : "Query Parameters" ,
280+ "queryVariables" : "Query Variables" ,
280281 "hashParams" : "Hash Parameters" ,
281282 "showNotification" : "Show a Notification" ,
282283 "text" : "Text" ,
You can’t perform that action at this time.
0 commit comments