feat(data): use data provider for list and detail view

This commit is contained in:
Jovan Krunić
2019-02-07 16:13:11 +01:00
parent ffe05e4548
commit 7caaa18b7e
9 changed files with 87 additions and 81 deletions

View File

@@ -8,7 +8,7 @@
</ion-toolbar>
</ion-header>
<ion-content padding>
<ion-content padding *ngIf="item">
<stapps-data-list-item [item]="item"></stapps-data-list-item>
<div [ngSwitch]="item.type">
@@ -18,4 +18,4 @@
<p *ngIf="item.description">{{item.description}}</p>
</span>
</div>
</ion-content>
</ion-content>