From e841a46fd34a1b26c6aace6ca857b272e48067c7 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Fernadez Date: Fri, 15 Dec 2023 11:36:10 -0600 Subject: [PATCH] Clean up --- .../settings-actions-deactivate.component.html | 2 +- .../components/settings-actions/settings-actions.component.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/account-settings/components/settings-actions-deactivate/settings-actions-deactivate.component.html b/src/app/account-settings/components/settings-actions-deactivate/settings-actions-deactivate.component.html index e8a795d2f3..4b46bd613e 100644 --- a/src/app/account-settings/components/settings-actions-deactivate/settings-actions-deactivate.component.html +++ b/src/app/account-settings/components/settings-actions-deactivate/settings-actions-deactivate.component.html @@ -49,7 +49,7 @@ Account settings > Remove duplicate record diff --git a/src/app/account-settings/components/settings-actions/settings-actions.component.ts b/src/app/account-settings/components/settings-actions/settings-actions.component.ts index e24bd49825..5b87a88984 100644 --- a/src/app/account-settings/components/settings-actions/settings-actions.component.ts +++ b/src/app/account-settings/components/settings-actions/settings-actions.component.ts @@ -29,9 +29,9 @@ export class SettingsActionsComponent implements OnInit { const hash = this._window.location.hash.substr(1) this.displayPanelByHashName(hash) this.activeRoute.fragment.subscribe((fragment) => { - if (fragment === 'remove-duplicate-record') { + if (fragment === 'remove-duplicate') { const element = this._window.document.querySelector('#cy-remove-duplicate-panel') - this.displayPanelByHashName('remove-duplicate') + this.displayPanelByHashName(fragment) setTimeout(() => { if (element) { element.scrollIntoView()