notifs: fix dnd
This commit is contained in:
parent
e29275df0e
commit
542495c74f
1 changed files with 4 additions and 5 deletions
|
|
@ -36,9 +36,8 @@ Singleton {
|
||||||
onNotification: notif => {
|
onNotification: notif => {
|
||||||
notif.tracked = true;
|
notif.tracked = true;
|
||||||
|
|
||||||
if (!props.dnd)
|
|
||||||
root.list.push(notifComp.createObject(root, {
|
root.list.push(notifComp.createObject(root, {
|
||||||
popup: true,
|
popup: !props.dnd,
|
||||||
notification: notif
|
notification: notif
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue