clean up stage 1
This commit is contained in:
@@ -14,6 +14,7 @@ import { SwUpdate } from '@angular/service-worker';
|
||||
import { TranslatePipe } from './i18n/translate.pipe';
|
||||
import { TranslateService } from './i18n/translate.service';
|
||||
import { PlatformRuntimeService } from './core/runtime/platform-runtime.service';
|
||||
import { UiRuntimeFacade } from './facades/runtime/ui-runtime.facade';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@@ -22,7 +23,7 @@ import { PlatformRuntimeService } from './core/runtime/platform-runtime.service'
|
||||
styleUrl: './app.scss'
|
||||
})
|
||||
export class App implements OnInit {
|
||||
protected title = environment.brandName;
|
||||
protected title = '';
|
||||
isHomePage = signal(true);
|
||||
checkingServer = signal(true);
|
||||
serverAvailable = signal(false);
|
||||
@@ -35,10 +36,12 @@ export class App implements OnInit {
|
||||
private router = inject(Router);
|
||||
private i18n = inject(TranslateService);
|
||||
private platformRuntime = inject(PlatformRuntimeService);
|
||||
private uiRuntime = inject(UiRuntimeFacade);
|
||||
|
||||
ngOnInit(): void {
|
||||
this.platformRuntime.initialize();
|
||||
this.titleService.setTitle(`${environment.brandFullName} - ${this.i18n.t('app.pageTitle')}`);
|
||||
this.title = this.uiRuntime.marketplaceName();
|
||||
this.titleService.setTitle(`${this.uiRuntime.marketplaceDisplayName()} - ${this.i18n.t('app.pageTitle')}`);
|
||||
this.checkServerHealth();
|
||||
this.setupAutoUpdates();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user