fix: breadcrumbs indonesian labels

This commit is contained in:
2026-05-11 18:57:06 +00:00
parent a05ff99992
commit 4851ed5d6a
7 changed files with 11 additions and 3 deletions
@@ -78,7 +78,7 @@ class ViewVote extends ViewRecord
TextEntry::make('abstain')->label('Abstain')->state($abstain)
->color('gray'),
TextEntry::make('result')->label('Hasil')->state($total > 0 ? $quorum : '-')
->color($total > 0 && ($approve / max($total, 1)) > 0.5 ? 'success' : 'warning'),
->color($total > 0 && ($approve / $total) > 0.5 ? 'success' : 'warning'),
])->columns(5),
]);
}