From 33c7e5c1859d16f9bc2f60ab6b8dc714f022391a Mon Sep 17 00:00:00 2001 From: Yuchen Shi Date: Wed, 22 Sep 2021 15:32:30 -0700 Subject: [PATCH] Minor fixes for Auth Emulator IDP widget. (#3774) * Minor fixes for Auth Emulator IDP widget. * Changelog. --- CHANGELOG.md | 1 + src/emulator/auth/handlers.ts | 6 ++++-- src/emulator/auth/widget_ui.ts | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a99a4249af6..135ecd2b1ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,3 @@ - `ext:dev:publish` and `ext:update` now support --force and --non-interactive flags. - Fixes issue where account specified by `login:use` was not being correctly loaded (#3759). +- Fixes minor layout issues in Auth Emulator IDP sign-in page (#3774). diff --git a/src/emulator/auth/handlers.ts b/src/emulator/auth/handlers.ts index f08ed8dca14..b0d22252d97 100644 --- a/src/emulator/auth/handlers.ts +++ b/src/emulator/auth/handlers.ts @@ -195,9 +195,11 @@ export function registerHandlers( ` } ${ - info.displayName + info.displayName || "(No display name)" + } + ${ + info.email || "" } - ${info.email} ` ) .join("\n"); diff --git a/src/emulator/auth/widget_ui.ts b/src/emulator/auth/widget_ui.ts index a5b8696613c..ce862e75d33 100644 --- a/src/emulator/auth/widget_ui.ts +++ b/src/emulator/auth/widget_ui.ts @@ -491,7 +491,7 @@ export const WIDGET_UI = ` Auth Emulator IDP Login Widget - + @@ -604,6 +604,6 @@ export const WIDGET_UI = ` - + `;