From 13b78db38e872b21c7b005a8088977e744f9d141 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Nov 2023 10:11:20 +0100 Subject: [PATCH] Cleanup input switch --- client/e2e/src/suites-local/signup.e2e-spec.ts | 2 +- .../my-account-settings/my-account-settings.component.ts | 2 +- .../src/app/shared/shared-forms/input-switch.component.html | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/client/e2e/src/suites-local/signup.e2e-spec.ts b/client/e2e/src/suites-local/signup.e2e-spec.ts index 98dc469c9..3e3518a79 100644 --- a/client/e2e/src/suites-local/signup.e2e-spec.ts +++ b/client/e2e/src/suites-local/signup.e2e-spec.ts @@ -35,7 +35,7 @@ function checkEndMessage (options: { } { - const checkEmail = 'Check your emails' + const checkEmail = 'Check your email' if (requiresEmailVerification) { expect(message).toContain(checkEmail) diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts b/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts index 4bd36cbe5..4b3b33bcc 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts @@ -32,7 +32,7 @@ export class MyAccountSettingsComponent implements OnInit, AfterViewChecked { ngAfterViewChecked () { if (window.location.hash && window.location.hash !== this.lastScrollHash) { - // this.viewportScroller.scrollToAnchor(window.location.hash.replace('#', '')) + this.viewportScroller.scrollToAnchor(window.location.hash.replace('#', '')) this.lastScrollHash = window.location.hash } diff --git a/client/src/app/shared/shared-forms/input-switch.component.html b/client/src/app/shared/shared-forms/input-switch.component.html index ad400a82f..532470289 100644 --- a/client/src/app/shared/shared-forms/input-switch.component.html +++ b/client/src/app/shared/shared-forms/input-switch.component.html @@ -1,4 +1,2 @@ -
- - -
+ +