From 06b0c3775a0ff7cad27b1dc8fa34b0967e8ee650 Mon Sep 17 00:00:00 2001 From: mustafahlvc Date: Thu, 14 Dec 2017 12:25:48 +0300 Subject: [PATCH] (Mail-ngrx) missing deSelectCurrentFunction() added to mail.component, back arrow visibility updated for responsive --- src/app/main/content/apps/mail-ngrx/mail.component.html | 2 +- src/app/main/content/apps/mail-ngrx/mail.component.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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();