File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Fleets/Add/FleetFormFields Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ export function FleetFormFields<T extends FieldValues = FieldValues>({
1818 const { t } = useTranslation ( ) ;
1919 const [ openHelpPanel ] = useHelpPanel ( ) ;
2020
21- const getFieldNameWitPrefix = ( name : string ) => {
21+ const getFieldNameWitPrefix = ( name : string ) : string => {
2222 if ( ! fieldNamePrefix ) {
2323 return name ;
2424 }
2525
26- [ fieldNamePrefix , name ] . join ( '.' ) ;
26+ return [ fieldNamePrefix , name ] . join ( '.' ) ;
2727 } ;
2828
2929 return (
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ export const ProjectAdd: React.FC = () => {
302302 < FleetFormFields < IProjectForm >
303303 control = { control }
304304 disabledAllFields = { loading }
305- fieldNamePrefix = "fleet. "
305+ fieldNamePrefix = "fleet"
306306 />
307307 ) }
308308 </ SpaceBetween >
Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ export const CreateProjectWizard: React.FC = () => {
442442 < FleetFormFields < IProjectWizardForm >
443443 control = { control }
444444 disabledAllFields = { loading }
445- fieldNamePrefix = "fleet. "
445+ fieldNamePrefix = "fleet"
446446 />
447447 ) }
448448 </ SpaceBetween >
You can’t perform that action at this time.
0 commit comments