Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Mendoza Fernadez authored and Leonardo Mendoza Fernadez committed Dec 15, 2023
1 parent 1ae7075 commit e841a46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<a
i18n="@@account.accountSettings"
[routerLink]="removeDuplicateUrl"
fragment="remove-duplicate-record"
fragment="remove-duplicate"
class="underline"
id="cy-remove-duplicated-record"
>Account settings > Remove duplicate record
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e841a46

Please sign in to comment.