Fix bug where an undefined last or first name for a dedication displays weird on the payment page
This commit is contained in:
parent
976dede3eb
commit
6b23f21b56
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ function view(state) {
|
|||
])
|
||||
, weekly
|
||||
, dedic && (dedic.first_name || dedic.last_name)
|
||||
? h('p.u-centered', `${dedic.dedication_type === 'memory' ? I18n.t('nonprofits.donate.dedication.in_memory_label') : I18n.t('nonprofits.donate.dedication.in_honor_label')} ` + `${dedic.first_name} ${dedic.last_name}`)
|
||||
? h('p.u-centered', `${dedic.dedication_type === 'memory' ? I18n.t('nonprofits.donate.dedication.in_memory_label') : I18n.t('nonprofits.donate.dedication.in_honor_label')} ` + `${dedic.first_name || ''} ${dedic.last_name || ''}`)
|
||||
: ''
|
||||
, paymentTabs(state)
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue