diff --git a/src/app/main/content/apps/mail-ngrx/mail.component.html b/src/app/main/content/apps/mail-ngrx/mail.component.html index 30152f6f..3773278a 100644 --- a/src/app/main/content/apps/mail-ngrx/mail.component.html +++ b/src/app/main/content/apps/mail-ngrx/mail.component.html @@ -87,7 +87,7 @@ -
+
diff --git a/src/app/main/content/apps/mail-ngrx/mail.component.ts b/src/app/main/content/apps/mail-ngrx/mail.component.ts index 4238af45..59460e47 100644 --- a/src/app/main/content/apps/mail-ngrx/mail.component.ts +++ b/src/app/main/content/apps/mail-ngrx/mail.component.ts @@ -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();