mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Update status mappings for "CREATED" to "Pengajuan"
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user