Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/support-develop' into srapala/…
Browse files Browse the repository at this point in the history
…dfa-public-3.1
  • Loading branch information
shruthi-rapala committed Dec 17, 2024
2 parents 19f6853 + d11eeea commit d2e9a6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions dfa/src/UI/embc-dfa/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
(closeEvent)="closeOutageBanner($event)"
></app-outage-banner>

@if (environment !== null && environment !== undefined) {
<app-environment-banner [environment]="environment"></app-environment-banner>
}
<app-environment-banner *ngIf="environment" [environment]="environment"></app-environment-banner>

<app-header
[ngStyle]="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ import { NgStyle } from '@angular/common';
@Component({
selector: 'app-environment-banner',
templateUrl: './environment-banner.component.html',
styleUrls: ['./environment-banner.component.scss'],
styleUrls: ['./environment-banner.component.scss']
})
export class EnvironmentBannerComponent implements OnInit {
environment: EnvironmentInformation;
@Input() environment: EnvironmentInformation;

constructor(private envBannerService: EnvironmentBannerService) {}
constructor() {}

ngOnInit(): void {
this.environment = this.envBannerService.getEnvironmentBanner();
}
ngOnInit(): void {}
}

0 comments on commit d2e9a6b

Please sign in to comment.