From d3d7209be9780cb96d9f98c5a2d4f2cc8bf48b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 30 Sep 2020 16:38:38 +0200 Subject: [PATCH] Show icon only with dnd status in the message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/user_status/src/views/Dashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_status/src/views/Dashboard.vue b/apps/user_status/src/views/Dashboard.vue index 747837beb8..80f9385db7 100644 --- a/apps/user_status/src/views/Dashboard.vue +++ b/apps/user_status/src/views/Dashboard.vue @@ -57,7 +57,7 @@ export default { return this.statuses.map((item) => { const icon = item.icon || '' const message = item.message || '' - const status = `${icon} ${message}` + const status = item.status === 'dnd' ? `${icon} ${message}` : message let subText if (item.icon === null && item.message === null && item.timestamp === null) {