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 Roeland Jago Douma
parent 2c149fbd9a
commit d3d7209be9
No known key found for this signature in database
GPG Key ID: F941078878347C0C
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) {