mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 12:35:07 +00:00
(Mail-ngrx) missing deSelectCurrentFunction() added to mail.component,
back arrow visibility updated for responsive
This commit is contained in:
parent
26690990f0
commit
06b0c3775a
|
@ -87,7 +87,7 @@
|
||||||
</mat-menu>
|
</mat-menu>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="currentMail$ | async" fxHide.gt-lg>
|
<div *ngIf="currentMail$ | async" fxHide.gt-xs>
|
||||||
<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>
|
||||||
|
|
|
@ -116,6 +116,11 @@ export class FuseMailNgrxComponent implements OnInit, OnDestroy
|
||||||
this.store.dispatch(new fromStore.SetFolderOnSelectedMails(folderId));
|
this.store.dispatch(new fromStore.SetFolderOnSelectedMails(folderId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
deSelectCurrentMail()
|
||||||
|
{
|
||||||
|
this.store.dispatch(new fromStore.SetCurrentMail(''));
|
||||||
|
}
|
||||||
|
|
||||||
refresh()
|
refresh()
|
||||||
{
|
{
|
||||||
this.cd.markForCheck();
|
this.cd.markForCheck();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user