Remove last notification before creating new one
This commit is contained in:
@@ -128,6 +128,9 @@
|
||||
|
||||
drawAttention();
|
||||
|
||||
if (this.lastNotification) {
|
||||
this.lastNotification.close();
|
||||
}
|
||||
const notification = new Notification(title, {
|
||||
body: message,
|
||||
icon: iconUrl,
|
||||
|
Reference in New Issue
Block a user