added actions to sber payments view
This commit is contained in:
1 parent
7a8c877ca3
commit
ae68d705b3
6 files changed
+174
-17
No files matched your search
@@ -229,7 +229,7 @@ export interface AuditRowProps {
|
||||
export function StatusBadge({ status }: { status: string }) {
|
||||
const normalized = status.toLowerCase();
|
||||
const variant =
|
||||
normalized === "success" || normalized === "completed"
|
||||
normalized === "success" || normalized === "completed" || normalized === "finished"
|
||||
? "default"
|
||||
: normalized === "failed" || normalized === "error"
|
||||
? "destructive"
|
||||
|
||||
Reference in new issue
Block a user