refactor(FE): Update status mappings for "CREATED" to "Pengajuan"

This commit is contained in:
rstubryan
2026-02-19 15:35:08 +07:00
parent e22f95cc58
commit 3be6d5bb26
@@ -41,7 +41,8 @@ const statusTextMap: Record<string, string> = {
Disetujui: 'Disetujui',
REJECTED: 'Ditolak',
Ditolak: 'Ditolak',
CREATED: 'Dibuat',
CREATED: 'Pengajuan',
Pengajuan: 'Pengajuan',
UPDATED: 'Diperbarui',
};
@@ -59,13 +60,11 @@ const statusBadgeColorMap: Record<string, Color> = {
rejected: 'error',
ditolak: 'error',
CREATED: 'neutral',
Dibuat: 'neutral',
Pengajuan: 'neutral',
created: 'neutral',
dibuat: 'neutral',
pengajuan: 'neutral',
UPDATED: 'warning',
Diperbarui: 'warning',
updated: 'warning',
diperbarui: 'warning',
};
const getStatusBadgeColor = (status: string): Color => {