Fix(edit-tag): Fix the bug that the edit-tag tag cannot be deleted #9869 (#10679)

### What problem does this PR solve?

fix(edit-tag): Fix the bug that the edit-tag tag cannot be deleted #9869

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-10-21 09:38:36 +08:00
committed by GitHub
parent deb81810e9
commit 8013505daf
3 changed files with 20 additions and 38 deletions

View File

@ -148,6 +148,6 @@ export interface NavigateToDataflowResultProps {
[PipelineResultSearchParams.AgentTitle]?: string;
[PipelineResultSearchParams.IsReadOnly]?: string;
[PipelineResultSearchParams.Type]: string;
[PipelineResultSearchParams.CreatedBy]: string;
[PipelineResultSearchParams.DocumentExtension]: string;
[PipelineResultSearchParams.CreatedBy]?: string;
[PipelineResultSearchParams.DocumentExtension]?: string;
}

View File

@ -311,7 +311,6 @@ const FileLogsTable: FC<FileLogsTableProps> = ({
data,
pagination,
setPagination,
loading,
active = LogTabs.FILE_LOGS,
}) => {
const [sorting, setSorting] = useState<SortingState>([]);
@ -328,13 +327,13 @@ const FileLogsTable: FC<FileLogsTableProps> = ({
fileName: row.original.document_name,
source: row.original.source_from,
task: row.original?.task_type,
status: row.original.statusName,
status: row.original.status as RunningStatus,
startDate: formatDate(row.original.process_begin_at),
duration: formatSecondsToHumanReadable(
row.original.process_duration || 0,
),
details: row.original.progress_msg,
};
} as unknown as IFileLogItem;
console.log('logDetail', logDetail);
setLogInfo(logDetail);
setIsModalVisible(true);