@@ -60,7 +60,6 @@ const Content: React.FC<ContentProps> = ({
6060 const [ extractLoading , setIsExtractLoading ] = useState < boolean > ( false ) ;
6161 const { setUserCredentials, userCredentials, setConnectionStatus, isGdsActive, isReadOnlyUser, isGCSActive } =
6262 useCredentials ( ) ;
63-
6463 const [ retryFile , setRetryFile ] = useState < string > ( '' ) ;
6564 const [ retryLoading , setRetryLoading ] = useState < boolean > ( false ) ;
6665 const [ showRetryPopup , toggleRetryPopup ] = useReducer ( ( state ) => ! state , false ) ;
@@ -704,7 +703,6 @@ const Content: React.FC<ContentProps> = ({
704703 if ( selectedRows ?. length ) {
705704 const expiredFilesExists = selectedRows . some (
706705 ( c ) => isFileReadyToProcess ( c , true ) && isExpired ( ( c ?. createdAt as Date ) ?? new Date ( ) )
707- ) ;
708706 const largeFileExists = selectedRows . some (
709707 ( c ) => isFileReadyToProcess ( c , true ) && typeof c . size === 'number' && c . size > largeFileSize
710708 ) ;
@@ -807,6 +805,19 @@ const Content: React.FC<ContentProps> = ({
807805 > </ ConfirmationDialog >
808806 </ Suspense >
809807 ) }
808+ { showExpirationModal && filesForProcessing . length && (
809+ < Suspense fallback = { < FallBackDialog /> } >
810+ < ConfirmationDialog
811+ open = { showExpirationModal }
812+ largeFiles = { filesForProcessing }
813+ extractHandler = { handleGenerateGraph }
814+ onClose = { ( ) => setshowExpirationModal ( false ) }
815+ loading = { extractLoading }
816+ selectedRows = { childRef . current ?. getSelectedRows ( ) as CustomFile [ ] }
817+ isLargeDocumentAlert = { false }
818+ > </ ConfirmationDialog >
819+ </ Suspense >
820+ ) }
810821 { showDeletePopUp && (
811822 < DeletePopUp
812823 open = { showDeletePopUp }
0 commit comments