mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Fixed the toggle button
This commit is contained in:
parent
403e79d5d3
commit
da9a892e43
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ export class MyNavComponent implements OnInit {
|
|||
|
||||
public ngOnInit(): void {
|
||||
this.theme = localStorage.getItem("theme");
|
||||
if(!this.theme) {
|
||||
localStorage.setItem("theme","light");
|
||||
}
|
||||
}
|
||||
|
||||
public navItems: INavBar[] = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue