refactor: initialize config via APP_INITIALIZER

Closes #181
This commit is contained in:
Jovan Krunić
2022-02-09 20:43:08 +01:00
parent 411e0970b8
commit bde0df219c
9 changed files with 37 additions and 72 deletions

View File

@@ -19,7 +19,7 @@
<ion-menu-button></ion-menu-button>
<ion-back-button></ion-back-button>
</ion-buttons>
<ion-title *ngIf="content | async as content; else titleLoading">{{
<ion-title *ngIf="content; else titleLoading">{{
'title' | translateSimple: content
}}</ion-title>
<ng-template #titleLoading>
@@ -29,7 +29,7 @@
</ng-template>
</ion-toolbar>
</ion-header>
<ion-content *ngIf="content | async as content">
<ion-content *ngIf="content">
<about-page-content
*ngFor="let element of content.content"
[content]="element"