From 948c303039a3361dbe2161ebba6845b1e388a18a Mon Sep 17 00:00:00 2001
From: GretaD <gretadoci@gmail.com>
Date: Tue, 11 Feb 2020 12:38:35 +0100
Subject: [PATCH] Remove mark all messages as read

Signed-off-by: GretaD <gretadoci@gmail.com>
---
 src/components/NavigationFolder.vue | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/components/NavigationFolder.vue b/src/components/NavigationFolder.vue
index 13981545e..07e581f26 100644
--- a/src/components/NavigationFolder.vue
+++ b/src/components/NavigationFolder.vue
@@ -42,7 +42,7 @@
 
 				<!-- TODO: make *mark as read* available for all folders once there is more than one action -->
 				<ActionButton
-					v-if="!account.isUnified"
+					v-if="!account.isUnified && folder.specialRole !== 'flagged'"
 					icon="icon-checkmark"
 					:title="t('mail', 'Mark all as read')"
 					:disabled="loadingMarkAsRead"
@@ -51,7 +51,11 @@
 					{{ t('mail', 'Mark all messages of this folder as read') }}
 				</ActionButton>
 
-				<ActionInput v-if="!account.isUnified && folder.specialRole !== 'flagged'" icon="icon-add" @submit="createFolder">
+				<ActionInput
+					v-if="!account.isUnified && folder.specialRole !== 'flagged'"
+					icon="icon-add"
+					@submit="createFolder"
+				>
 					{{ t('mail', 'Add subfolder') }}
 				</ActionInput>
 			</template>
-- 
GitLab