mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 15:25:46 +00:00
refactor(FE): Unify status badge logic and use StatusBadge
This commit is contained in:
@@ -858,10 +858,7 @@ const RecordingTable = () => {
|
||||
const status = approval.action;
|
||||
const statusColor = getStatusBadgeColor(status);
|
||||
|
||||
const statusText =
|
||||
status === 'REJECTED'
|
||||
? 'Ditolak'
|
||||
: approval.step_name || getStatusText(status);
|
||||
const statusText = approval.step_name || getStatusText(status);
|
||||
|
||||
return (
|
||||
<StatusBadge
|
||||
|
||||
Reference in New Issue
Block a user