mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
fixed settings retaining active class when elsewhere in UI
This commit is contained in:
parent
1a01ce6efd
commit
ddd3be260f
1 changed files with 8 additions and 0 deletions
|
@ -14,4 +14,12 @@ export class SettingsMenuComponent {
|
|||
element.classList.add("active");
|
||||
}
|
||||
}
|
||||
|
||||
public ngOnDestroy() {
|
||||
const element = document.getElementById("settings");
|
||||
if (element != null) {
|
||||
element.classList.remove("active");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue