Skip to content

Commit

Permalink
uncommented the Retry Processing
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikpersistent committed Sep 17, 2024
1 parent 5f2290b commit fec0d1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/FileTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
} from '../utils/Utils';
import { SourceNode, CustomFile, FileTableProps, UserCredentials, statusupdate, ChildRef } from '../types';
import { useCredentials } from '../context/UserCredentials';
import {MagnifyingGlassCircleIconSolid } from '@neo4j-ndl/react/icons';
import { ArrowPathIconSolid, MagnifyingGlassCircleIconSolid } from '@neo4j-ndl/react/icons';
import CustomProgressBar from './UI/CustomProgressBar';
import subscribe from '../services/PollingAPI';
import { triggerStatusUpdateAPI } from '../services/ServerSideStatusUpdateAPI';
Expand All @@ -49,7 +49,7 @@ import IndeterminateCheckbox from './UI/CustomCheckBox';
import { showErrorToast, showNormalToast } from '../utils/toasts';
let onlyfortheFirstRender = true;
const FileTable = forwardRef<ChildRef, FileTableProps>((props, ref) => {
const { isExpanded, connectionStatus, setConnectionStatus, onInspect } = props;
const { isExpanded, connectionStatus, setConnectionStatus, onInspect, onRetry } = props;
const { filesData, setFilesData, model, rowSelection, setRowSelection, setSelectedRows, setProcessedCount, queue } =
useFileContext();
const { userCredentials } = useCredentials();
Expand Down Expand Up @@ -146,7 +146,7 @@ const FileTable = forwardRef<ChildRef, FileTableProps>((props, ref) => {
>
<StatusIndicator type={statusCheck(info.getValue())} />
{info.getValue()}
{/* {(info.getValue() === 'Completed' ||
{(info.getValue() === 'Completed' ||
info.getValue() === 'Failed' ||
info.getValue() === 'Cancelled') && (
<span className='mx-1'>
Expand All @@ -161,7 +161,7 @@ const FileTable = forwardRef<ChildRef, FileTableProps>((props, ref) => {
<ArrowPathIconSolid />
</IconButtonWithToolTip>
</span>
)} */}
)}
</div>
);
} else if (info.getValue() === 'Processing' && info.row.original.processingProgress === undefined) {
Expand Down

0 comments on commit fec0d1e

Please sign in to comment.