diff --git a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.ts b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.ts index a52f99969..8bcd67ef6 100644 --- a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.ts +++ b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.ts @@ -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[] = [