Show grantee email in modal if name is null (#831)

This commit is contained in:
Thomas Rittson 2021-02-17 13:07:13 +11:00 committed by GitHub
parent cb4f318419
commit 2a19189f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ export class EmergencyAccessComponent implements OnInit {
const type = this.i18nService.t(details.type === EmergencyAccessType.View ? 'view' : 'takeover');
const confirmed = await this.platformUtilsService.showDialog(
this.i18nService.t('approveAccessConfirmation', details.name, type),
this.i18nService.t('approveAccessConfirmation', details.name || details.email, type),
details.name || details.email,
this.i18nService.t('approve'),
this.i18nService.t('no'),