mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 20:21:10 -04:00
Translate badges
This commit is contained in:
@ -65,9 +65,11 @@
|
||||
:color="$utils.getBadgeStatusColor(row.status).color"
|
||||
>
|
||||
{{
|
||||
row.status != 'PARTIALLY_PAID'
|
||||
? row.status
|
||||
: row.status.replace('_', ' ')
|
||||
$utils.getStatusTranslation(
|
||||
row.status != 'PARTIALLY_PAID'
|
||||
? row.status
|
||||
: row.status.replace('_', ' ')
|
||||
)
|
||||
}}
|
||||
</sw-badge>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user