From 2a19189f041d33653ed66362f9072a0062909e3a Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Wed, 17 Feb 2021 13:07:13 +1100 Subject: [PATCH] Show grantee email in modal if name is null (#831) --- src/app/settings/emergency-access.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/settings/emergency-access.component.ts b/src/app/settings/emergency-access.component.ts index 791450272f..07d15c8a7c 100644 --- a/src/app/settings/emergency-access.component.ts +++ b/src/app/settings/emergency-access.component.ts @@ -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'),