summaryrefslogtreecommitdiff
path: root/modules/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sidebar')
-rw-r--r--modules/sidebar/NotifDockList.qml8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/sidebar/NotifDockList.qml b/modules/sidebar/NotifDockList.qml
index 33a9306..dbb5092 100644
--- a/modules/sidebar/NotifDockList.qml
+++ b/modules/sidebar/NotifDockList.qml
@@ -28,8 +28,12 @@ Item {
model: ScriptModel {
values: {
- const list = Notifs.list.map(n => [n.appName, null]);
- return [...new Map(list).keys()];
+ const map = new Map();
+ for (const n of Notifs.notClosed)
+ map.set(n.appName, null);
+ for (const n of Notifs.list)
+ map.set(n.appName, null);
+ return [...map.keys()];
}
onValuesChanged: root.flagChanged()
}