change color, fix date for claims

This commit is contained in:
smanylov
2026-04-23 12:43:27 +07:00
parent fc9dc836e7
commit 86263bd235
3 changed files with 11 additions and 12 deletions
+2 -2
View File
@@ -2744,8 +2744,8 @@
background: v.$b-color-1;
&.active {
background: #dbeafe;
color: #1e40af;
background: #3b82f6;
color: v.$white;
}
}
}
@@ -16,13 +16,13 @@ interface CaseInfo {
priority: string;
type: string;
lawyer: string | null;
createdAt: string;
updatedAt: string;
pageNumber: number;
pageSize: number;
totalElements: number;
totalPages: number;
violationId: number;
created_at: string;
updated_at: string;
page_number: number;
page_size: number;
total_elements: number;
total_pages: number;
violation_id: number;
content: string | null;
}
@@ -255,7 +255,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler }
<div
className="complaint-details-content"
>
{item.createdAt ? `${formatDate(item.createdAt)}: ${formatDateTime(item.createdAt)}` : '---'}
{item.created_at ? `${formatDate(item.created_at)}: ${formatDateTime(item.created_at)}` : '---'}
</div>
</div>
@@ -266,7 +266,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler }
<div
className="complaint-details-content"
>
{item.updatedAt ? `${formatDate(item.updatedAt)}: ${formatDateTime(item.updatedAt)}` : '---'}
{item.updated_at ? `${formatDate(item.updated_at)}: ${formatDateTime(item.updated_at)}` : '---'}
</div>
</div>
@@ -243,7 +243,6 @@ export default function SectionSearchFile() {
} catch (error) {
if (!isCancelledRef.current) {
setError(t('error-uploading-file'));
console.error('Upload error:', error);
}
} finally {
setUploadId(null);