metasocket-cordova/src/app/app.component.html

5 lines
127 B
HTML

<ion-app>
<app-chat *ngIf="getToken() !== null"></app-chat>
<app-login *ngIf="getToken() === null"></app-login>
</ion-app>