Commit 428ec911 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #18804 TIME 0:10 don't set header title if aboutUs modal's opened

parent 5c0f9a85
import { Component, OnInit } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { HeaderService } from '@service/header.service';
import { AppService } from '@service/app.service';
import { environment } from '../environments/environment';
import { catchError, tap } from 'rxjs/operators';
......@@ -29,7 +28,6 @@ export class AboutUsComponent implements OnInit {
public translate: TranslateService,
public http: HttpClient,
private notify: NotificationService,
private headerService: HeaderService,
public appService: AppService,
public dialogRef: MatDialogRef<AboutUsComponent>,
iconReg: MatIconRegistry,
......@@ -39,8 +37,6 @@ export class AboutUsComponent implements OnInit {
}
async ngOnInit() {
this.headerService.setHeader(this.translate.instant('lang.aboutUs'));
this.applicationVersion = environment.VERSION;
this.currentYear = new Date().getFullYear();
this.loading = false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment