mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 23:05:46 +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',
|
Disetujui: 'Disetujui',
|
||||||
REJECTED: 'Ditolak',
|
REJECTED: 'Ditolak',
|
||||||
Ditolak: 'Ditolak',
|
Ditolak: 'Ditolak',
|
||||||
CREATED: 'Dibuat',
|
CREATED: 'Pengajuan',
|
||||||
|
Pengajuan: 'Pengajuan',
|
||||||
UPDATED: 'Diperbarui',
|
UPDATED: 'Diperbarui',
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -59,13 +60,11 @@ const statusBadgeColorMap: Record<string, Color> = {
|
|||||||
rejected: 'error',
|
rejected: 'error',
|
||||||
ditolak: 'error',
|
ditolak: 'error',
|
||||||
CREATED: 'neutral',
|
CREATED: 'neutral',
|
||||||
Dibuat: 'neutral',
|
Pengajuan: 'neutral',
|
||||||
created: 'neutral',
|
created: 'neutral',
|
||||||
dibuat: 'neutral',
|
pengajuan: 'neutral',
|
||||||
UPDATED: 'warning',
|
UPDATED: 'warning',
|
||||||
Diperbarui: 'warning',
|
|
||||||
updated: 'warning',
|
updated: 'warning',
|
||||||
diperbarui: 'warning',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const getStatusBadgeColor = (status: string): Color => {
|
const getStatusBadgeColor = (status: string): Color => {
|
||||||
|
|||||||
Reference in New Issue
Block a user