@@ -929,7 +929,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R
929929 data ?. otherCmsField === 'url' ||
930930 data ?. otherCmsField === 'reference' ||
931931 data ?. contentstackFieldType === "global_field" ||
932- newMigrationData ?. project_current_step ?. toString ( ) !== stepId
932+ newMigrationData ?. project_current_step > 4
933933 }
934934 />
935935 </ div >
@@ -955,7 +955,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R
955955 onClick = { ( ) =>
956956 handleAdvancedSetting ( fieldLabel , data ?. advanced || { } , data ?. uid , data )
957957 }
958- disabled = { newMigrationData ?. project_current_step ?. toString ( ) !== stepId }
958+ disabled = { newMigrationData ?. project_current_step > 4 }
959959 />
960960 </ Tooltip >
961961 ) }
@@ -1412,7 +1412,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R
14121412 maxWidth = "290px"
14131413 isClearable = { selectedOptions ?. includes ( existingField ?. [ data ?. uid ] ?. label ?? '' ) }
14141414 options = { adjustedOptions }
1415- isDisabled = { OptionValue ?. isDisabled || newMigrationData ?. project_current_step ?. toString ( ) !== stepId }
1415+ isDisabled = { OptionValue ?. isDisabled || newMigrationData ?. project_current_step > 4 }
14161416 />
14171417 </ div >
14181418 { ! OptionValue ?. isDisabled && (
@@ -1427,7 +1427,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R
14271427 >
14281428 < Button
14291429 buttonType = "light"
1430- disabled = { ( contentTypeSchema && existingField [ data ?. uid ] || newMigrationData ?. project_current_step ?. toString ( ) !== stepId ) ? true : false }
1430+ disabled = { ( contentTypeSchema && existingField [ data ?. uid ] || newMigrationData ?. project_current_step > 4 ) ? true : false }
14311431 >
14321432 < Icon
14331433 version = { 'v2' }
@@ -2051,7 +2051,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R
20512051 placeholder = { otherContentType ?. label }
20522052 isSearchable
20532053 version = "v2"
2054- isDisabled = { newMigrationData ?. project_current_step ?. toString ( ) !== stepId }
2054+ isDisabled = { newMigrationData ?. project_current_step > 4 }
20552055 />
20562056 </ div >
20572057 ) }
@@ -2071,7 +2071,7 @@ const ContentMapper = forwardRef(({handleStepChange}: contentMapperProps, ref: R
20712071 className = "saveButton"
20722072 onClick = { handleSaveContentType }
20732073 version = "v2"
2074- disabled = { newMigrationData ?. project_current_step ?. toString ( ) !== stepId }
2074+ disabled = { newMigrationData ?. project_current_step > 4 }
20752075 >
20762076 Save
20772077 </ Button >
0 commit comments