Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4888,7 +4888,6 @@ const translations = {
prohibitedDefaultDescription:
'Flag any receipts where alcohol, gambling, or other restricted items appear. Expenses with receipts where these line items appear will require manual review.',
prohibitedExpenses: 'Prohibited expenses',
none: 'None',
alcohol: 'Alcohol',
hotelIncidentals: 'Hotel incidentals',
gambling: 'Gambling',
Expand Down
1 change: 0 additions & 1 deletion src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4959,7 +4959,6 @@ const translations = {
prohibitedDefaultDescription:
'Marque cualquier recibo donde aparezcan alcohol, apuestas u otros artículos restringidos. Los gastos con recibos que incluyan estos conceptos requerirán una revisión manual.',
prohibitedExpenses: 'Gastos prohibidos',
none: 'Ninguno',
alcohol: 'Alcohol',
hotelIncidentals: 'Gastos incidentales de hotel',
gambling: 'Juegos de azar',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function IndividualExpenseRulesSection({policyID}: IndividualExpenseRulesSection

// If no expenses are prohibited, return empty string
if (!prohibitedExpensesList.length) {
return translate('workspace.rules.individualExpenseRules.none');
return '';
}

return prohibitedExpensesList.join(', ');
Expand Down