refactor(FE): Unify status badge logic and use StatusBadge

This commit is contained in:
rstubryan
2026-02-02 10:46:20 +07:00
parent 4a1464185b
commit 3ca4b324d3
2 changed files with 72 additions and 32 deletions
@@ -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