We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5b4c1c commit d1f5b23Copy full SHA for d1f5b23
src/app/header/header.component.ts
@@ -46,7 +46,7 @@ export class HeaderComponent implements OnInit, OnDestroy {
46
47
// Reactive banner values - update when config changes
48
public envName = computed(() => this.configService.config().ENVIRONMENT || 'local');
49
- public bannerColour = computed(() => this.configService.config().BANNER_COLOUR || 'red');
+ public bannerColour = computed(() => this.configService.config().BANNER_COLOUR ?? 'red');
50
public showBanner = computed(() => {
51
const env = this.envName();
52
const colour = this.bannerColour();
0 commit comments