Add 'unconsumed' state to StateTag component with corresponding success status
This commit is contained in:
parent
d5d0040871
commit
ba1bba1a24
@ -92,6 +92,10 @@ const StateTag = ({ state, showBadge = true, style = {} }) => {
|
||||
status = 'warning'
|
||||
text = 'Used'
|
||||
break
|
||||
case 'unconsumed':
|
||||
status = 'success'
|
||||
text = 'Unconsumed'
|
||||
break
|
||||
default:
|
||||
status = 'default'
|
||||
text = state || 'Unknown'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user