Skip to content

Commit

Permalink
Correctly cast appconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
bpedersen2 committed Nov 17, 2023
1 parent 215af77 commit 73576e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/app-config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export class AppConfigService {
}
}
// Use old default if not provided
this.appConfig.logoWidth = this.appConfig.logoWidth ?? "412";

(this.appConfig as AppConfig).logoWidth = (this.appConfig as AppConfig).logoWidth ?? "412";
}

getConfig(): AppConfig {
Expand Down

0 comments on commit 73576e5

Please sign in to comment.