Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[CMG-726]
  • Loading branch information
sayalijoshi27 committed Oct 10, 2025
commit fa5bd36996e54fc4743b65b2b5ef54a79b4ec453
8 changes: 5 additions & 3 deletions ui/src/components/AdvancePropertise/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ const AdvancePropertise = (props: SchemaProps) => {
});
};



const handleDrop = (index: number) => {
if (draggedIndex === null) return;

Expand Down Expand Up @@ -576,7 +574,11 @@ const AdvancePropertise = (props: SchemaProps) => {
);
}}
options={
option}
(Array.isArray(props?.data?.referenceTo) && props?.data?.referenceTo?.length) ? [props.data.referenceTo.map((item: any) => ({
label: item,
value: item
})), ...option]
: option ?? []}
placeholder="Add Content Type(s)"
version="v2"
isSearchable={true}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/ContentMapper/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ div .table-row {
display: block;
}
.advanced-setting-button {
padding: 5px;
padding: 5px 10px;
}
.field-count {
font-size: $size-font-large;
Expand Down
12 changes: 6 additions & 6 deletions ui/src/components/ContentMapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1340,14 +1340,14 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
<Button
buttonType="light"
disabled={newMigrationData?.project_current_step > 4}
onClick={() =>
handleAdvancedSetting(fieldLabel, data?.advanced || {}, data?.uid, data)
}
>
<Icon
version="v2"
icon="Sliders"
size="small"
onClick={() =>
handleAdvancedSetting(fieldLabel, data?.advanced || {}, data?.uid, data)
}
disabled={newMigrationData?.project_current_step > 4}
/>

Expand Down Expand Up @@ -1836,14 +1836,14 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
<Button
buttonType="light"
disabled={(contentTypeSchema && existingField[data?.backupFieldUid]) || newMigrationData?.project_current_step > 4}
onClick={() => {
handleAdvancedSetting(initialOption?.label, data?.advanced || {}, data?.uid, data);
}}
>
<Icon
version={'v2'}
icon="Sliders"
size="small"
onClick={() => {
handleAdvancedSetting(initialOption?.label, data?.advanced || {}, data?.uid, data);
}}
/>
</Button>
</Tooltip>
Expand Down
5 changes: 0 additions & 5 deletions ui/src/components/LogScreen/MigrationLogViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,10 @@ import { updateNewMigrationData } from '../../store/slice/migrationDataSlice';
// Utilities
import { CS_URL } from '../../utilities/constants';

// Service
import { updateCurrentStepData } from '../../services/api/migration.service';

// Interface
import { INewMigration } from '../../context/app/app.interface';
import { ModalObj } from '../Modal/modal.interface';

// Components
import MigrationCompletionModal from '../Common/MigrationCompletionModal';
import useBlockNavigation from '../../hooks/userNavigation';

// CSS
Expand Down
6 changes: 6 additions & 0 deletions ui/src/components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,18 @@ const Modal = (props: ProjectModalProps) => {
if (result) {
Notification({
notificationContent: { text: result?.data?.message },
notificationProps: {
hideProgressBar: true
},
type: 'success'
});
closeModal();
} else {
Notification({
notificationContent: { text: 'Error occurred while creating project.' },
notificationProps: {
hideProgressBar: true
},
type: 'error'
});
closeModal();
Expand Down
13 changes: 4 additions & 9 deletions ui/src/pages/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ const Login: FC<IProps> = () => {
if (res?.status === 200 && res?.data?.notice === TFA_VIA_SMS_MESSAGE) {
Notification({
notificationContent: { text: res?.data?.notice },
type: 'success'
type: 'success',
notificationProps: {
hideProgressBar: true
}
});
}

Expand Down Expand Up @@ -198,14 +201,6 @@ const Login: FC<IProps> = () => {
}
};

// useEffect(()=>{
// if(region && loginStates?.tfa){
// setIsBlock(true);

// }

// },[loginStates]);

// Function for TFA validation
const TFAValidation = (value: string): string | undefined => {
if (value?.length) {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/pages/Migration/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ const Migration = () => {
notificationContent: { text: 'Migration Execution process started' },
notificationProps: {
position: 'bottom-center',
hideProgressBar: false
hideProgressBar: true
},
type: 'message'
});
Expand Down