(Mail-ngrx) currentMail fixes on html

This commit is contained in:
mustafahlvc 2017-12-14 11:52:53 +03:00
parent 377092d9ec
commit 26690990f0

View File

@ -36,7 +36,7 @@
<!-- / CONTENT HEADER --> <!-- / CONTENT HEADER -->
<!-- CONTENT CARD --> <!-- CONTENT CARD -->
<div class="content-card mat-white-bg" [ngClass]="{'current-mail-selected':currentMail}"> <div class="content-card mat-white-bg" [ngClass]="{'current-mail-selected':currentMail$ | async}">
<!-- CONTENT TOOLBAR --> <!-- CONTENT TOOLBAR -->
<div class="toolbar px-24 py-8"> <div class="toolbar px-24 py-8">
@ -87,7 +87,7 @@
</mat-menu> </mat-menu>
</div> </div>
<div *ngIf="currentMail" fxHide.gt-lg> <div *ngIf="currentMail$ | async" fxHide.gt-lg>
<button mat-icon-button (click)="deSelectCurrentMail()"> <button mat-icon-button (click)="deSelectCurrentMail()">
<mat-icon>arrow_back</mat-icon> <mat-icon>arrow_back</mat-icon>
</button> </button>