Skip to content

Commit

Permalink
fix: idem
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillermo Angeles committed Apr 30, 2024
1 parent 539719d commit a3a6e62
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/components/Label/Label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,13 @@ const Label = (props: Props) =>{
backgroundColor: Color.background.redLow,
text: 'Cancelado'
}
case 'canceled':
case 'failed':
return{
color: Color.text.red,
backgroundColor: Color.background.redLow,
text: 'Fallido'
}
case 'cancel':
return{
color: Color.text.red,
backgroundColor: Color.background.redLow,
Expand All @@ -165,6 +171,12 @@ const Label = (props: Props) =>{
backgroundColor: '#E4F8EE',
text: 'Activa'
}
case 'paid':
return{
color: '#448B6D',
backgroundColor: '#E4F8EE',
text: 'Pagado'
}
case 'Resuelto':
return{
color: '#448B6D',
Expand Down

0 comments on commit a3a6e62

Please sign in to comment.