diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa-disable-provider/current-user-mfa-disable-provider-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa-disable-provider/current-user-mfa-disable-provider-modal.element.ts index b770d2a7ee..0bd7ce5d93 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa-disable-provider/current-user-mfa-disable-provider-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa-disable-provider/current-user-mfa-disable-provider-modal.element.ts @@ -21,7 +21,7 @@ export class UmbCurrentUserMfaDisableProviderModalElement extends UmbModalBaseEl this.modalContext?.submit()} success-message="This two-factor provider is now disabled" success-message-key="user_2faProviderIsDisabledMsg">

diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa/current-user-mfa-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa/current-user-mfa-modal.element.ts index dc7e205122..cfde55626d 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa/current-user-mfa-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa/current-user-mfa-modal.element.ts @@ -99,7 +99,7 @@ export class UmbCurrentUserMfaModalElement extends UmbLitElement { */ async #onProviderEnable(item: UmbCurrentUserMfaProviderModel) { const modalManager = await this.getContext(UMB_MODAL_MANAGER_CONTEXT); - return await modalManager + await modalManager .open(this, UMB_CURRENT_USER_MFA_ENABLE_PROVIDER_MODAL, { data: { providerName: item.providerName }, }) @@ -114,7 +114,7 @@ export class UmbCurrentUserMfaModalElement extends UmbLitElement { */ async #onProviderDisable(item: UmbCurrentUserMfaProviderModel) { const modalManager = await this.getContext(UMB_MODAL_MANAGER_CONTEXT); - return await modalManager + await modalManager .open(this, UMB_CURRENT_USER_MFA_DISABLE_PROVIDER_MODAL, { data: { providerName: item.providerName }, }) @@ -125,10 +125,6 @@ export class UmbCurrentUserMfaModalElement extends UmbLitElement { static styles = [ UmbTextStyles, css` - :host { - display: block; - } - uui-box { margin-bottom: var(--uui-size-space-3); }