mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +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>
|
||||
</div>
|
||||
|
||||
<div *ngIf="currentMail$ | async" fxHide.gt-lg>
|
||||
<div *ngIf="currentMail$ | async" fxHide.gt-xs>
|
||||
<button mat-icon-button (click)="deSelectCurrentMail()">
|
||||
<mat-icon>arrow_back</mat-icon>
|
||||
</button>
|
||||
|
|
|
@ -116,6 +116,11 @@ export class FuseMailNgrxComponent implements OnInit, OnDestroy
|
|||
this.store.dispatch(new fromStore.SetFolderOnSelectedMails(folderId));
|
||||
}
|
||||
|
||||
deSelectCurrentMail()
|
||||
{
|
||||
this.store.dispatch(new fromStore.SetCurrentMail(''));
|
||||
}
|
||||
|
||||
refresh()
|
||||
{
|
||||
this.cd.markForCheck();
|
||||
|
|
Loading…
Reference in New Issue
Block a user