Skip to content

Commit

Permalink
fix the broken translation o the modal title
Browse files Browse the repository at this point in the history
  • Loading branch information
SebinSong committed Oct 5, 2023
1 parent c283e24 commit cddddac
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/views/containers/payments/ExportPaymentsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,14 @@ export default ({
'userDisplayName',
'withGroupCurrency'
]),
modalTitle () {
return L('Export {type} payments', { type: this.paymentType })
},
paymentType () {
return this.$route.query.type
},
modalTitle () {
return this.paymentType === 'sent'
? L('Export sent payments')
: L('Export received payments')
},
exportInstructions () {
return this.paymentType === 'sent'
? L('Export your sent payment history to .csv')
Expand Down

0 comments on commit cddddac

Please sign in to comment.