File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
settings/components/creditAccount Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ export const PermitSearchResultColumnDef = (
43
43
return PERMIT_STATUSES . SUPERSEDED ;
44
44
}
45
45
46
+ if ( permitStatus === PERMIT_STATUSES . REVOKED ) {
47
+ return PERMIT_STATUSES . REVOKED ;
48
+ }
49
+
46
50
if ( hasPermitExpired ( expiryDate ) ) {
47
51
return PERMIT_EXPIRED ;
48
52
}
Original file line number Diff line number Diff line change
1
+ import { OnRouteBCChip } from "../../../../common/components/chip/OnRouteBCChip" ;
1
2
import {
2
3
CreditAccountStatusType ,
3
4
CreditAccountStatusDisplayValues ,
@@ -20,9 +21,11 @@ export const StatusChip = ({ status }: StatusChipProps) => {
20
21
}
21
22
if ( status === "SUSPENDED" ) {
22
23
return (
23
- < span role = "status" className = "status-chip status-chip--suspended" >
24
- Suspended
25
- </ span >
24
+ < OnRouteBCChip
25
+ className = "status-chip status-chip--suspended"
26
+ message = "S"
27
+ hoverText = "Suspended"
28
+ />
26
29
) ;
27
30
}
28
31
if ( status === "UNVERIFIED" ) {
You can’t perform that action at this time.
0 commit comments