Translate badges

This commit is contained in:
Florian Gareis
2021-03-21 00:44:39 +01:00
parent 454ad3091a
commit e47cb01ce2
19 changed files with 95 additions and 9 deletions

View File

@ -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>