Show icon only with dnd status in the message

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-09-30 16:38:38 +02:00 committed by Joas Schilling
parent 0de44a8014
commit 0afccb5d9a
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -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) {