diff --git a/src/app/ui/violations/violations-check-all-section.tsx b/src/app/ui/violations/violations-check-all-section.tsx index cc98c27..9334ad4 100644 --- a/src/app/ui/violations/violations-check-all-section.tsx +++ b/src/app/ui/violations/violations-check-all-section.tsx @@ -7,16 +7,6 @@ import { useEffect, useRef, useState } from 'react'; import ModalWindow from '@/app/components/ModalWindow'; import { toast } from 'sonner'; -/* { - taskId: "9647fcd6-cf9b-4503-b399-b8d53794cd49", - userId: 1, - searchType: "all_files", - status: "PROCESSING", - totalFiles: 2, - processedFiles: 0, - createdAt: "2026-03-13T05:21:39.850518", - updatedAt: null -} */ interface violationSearchStatus { taskId?: string, userId?: number, @@ -144,7 +134,7 @@ export default function ViolationsCheckAllSection() {
Поиск нарушений во всех ваших изображениях. Проверка только точных совпадений (95%+).
- {(violationSearchStatus?.status !== 'task-not-found') && ( + {(violationSearchStatus && violationSearchStatus?.status !== 'task-not-found') && (
{t('content-verification-status')}: {violationSearchStatus?.status}