Skip to content

Commit 041ac1c

Browse files
committed
refactor LegacyCMS componnet: set default affix and adjust step completion logic and removed checks for affix
1 parent 4b336a7 commit 041ac1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/src/components/LegacyCms/Actions/LoadPrefix.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const LoadPreFix = (props: LoadSelectCmsProps) => {
2929

3030
const dispatch = useDispatch();
3131

32+
const [prefix, setPrefix] = useState<string>(newMigrationData?.legacy_cms?.affix || 'cs');
3233
const [prefix, setPrefix] = useState<string>(newMigrationData?.legacy_cms?.affix || 'cs');
3334

3435
const [isError, setIsError] = useState<boolean>(false);

0 commit comments

Comments
 (0)