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; background: v.$b-color-1;
&.active { &.active {
background: #dbeafe; background: #3b82f6;
color: #1e40af; color: v.$white;
} }
} }
} }
@@ -16,13 +16,13 @@ interface CaseInfo {
priority: string; priority: string;
type: string; type: string;
lawyer: string | null; lawyer: string | null;
createdAt: string; created_at: string;
updatedAt: string; updated_at: string;
pageNumber: number; page_number: number;
pageSize: number; page_size: number;
totalElements: number; total_elements: number;
totalPages: number; total_pages: number;
violationId: number; violation_id: number;
content: string | null; content: string | null;
} }
@@ -255,7 +255,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler }
<div <div
className="complaint-details-content" 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>
</div> </div>
@@ -266,7 +266,7 @@ export default function CaseViolation({ selectedViolation, updateStatusHandler }
<div <div
className="complaint-details-content" 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>
</div> </div>
@@ -243,7 +243,6 @@ export default function SectionSearchFile() {
} catch (error) { } catch (error) {
if (!isCancelledRef.current) { if (!isCancelledRef.current) {
setError(t('error-uploading-file')); setError(t('error-uploading-file'));
console.error('Upload error:', error);
} }
} finally { } finally {
setUploadId(null); setUploadId(null);