Show icon only with dnd status in the message
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
0de44a8014
commit
0afccb5d9a
|
@ -57,7 +57,7 @@ export default {
|
||||||
return this.statuses.map((item) => {
|
return this.statuses.map((item) => {
|
||||||
const icon = item.icon || ''
|
const icon = item.icon || ''
|
||||||
const message = item.message || ''
|
const message = item.message || ''
|
||||||
const status = `${icon} ${message}`
|
const status = item.status === 'dnd' ? `${icon} ${message}` : message
|
||||||
|
|
||||||
let subText
|
let subText
|
||||||
if (item.icon === null && item.message === null && item.timestamp === null) {
|
if (item.icon === null && item.message === null && item.timestamp === null) {
|
||||||
|
|
Loading…
Reference in New Issue