diff --git a/src/pages/AllocationServices/UploadHistory/ColumnDefs.tsx b/src/pages/AllocationServices/UploadHistory/ColumnDefs.tsx
index 23b3fb57..be4882be 100644
--- a/src/pages/AllocationServices/UploadHistory/ColumnDefs.tsx
+++ b/src/pages/AllocationServices/UploadHistory/ColumnDefs.tsx
@@ -9,7 +9,6 @@ import { FILE_STATUS } from '../../AmeyoUtility/types';
import { fetchFailureReport, fetchOriginalFile } from './uploadHistoryDrawerActions';
import dayjs from 'dayjs';
import { DateTimeFormat } from '@cp/src/components/DateTimePicker/constants';
-import { AgencyAllocationType } from '../../AllAgents/UploadHistory/types.ts/types';
const SET_DUMMY_TRUE = true;
@@ -118,9 +117,6 @@ export const useColumnDefs = (): {
headerComponentParams: { width: 100 },
cellRenderer: (params: ICellRendererParams) => {
const { data } = params;
- const showOriginalFile =
- data?.type === AgencyAllocationType.Allocate ||
- data?.type === AgencyAllocationType.Deallocate;
const textColor =
data?.uploadStatus ===
(FILE_STATUS.INPROGRESS || data?.uploadStatus === FILE_STATUS.INITIATED)
@@ -143,7 +139,8 @@ export const useColumnDefs = (): {
data?.uploadStatus === FILE_STATUS.INITIATED
? 'auto'
: 'pointer';
- return data?.jobData?.filename || showOriginalFile ? (
+
+ return (
- ) : (
-
- -
-
);
}
},