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