notifications: make update alerts non-persistent

once acked, they remain acked. no need to keep nagging the user about them.
This commit is contained in:
Girish Ramakrishnan
2023-03-26 15:12:00 +02:00
parent 9182b01fe0
commit 8205beeabf
8 changed files with 38 additions and 25 deletions

View File

@@ -19,7 +19,7 @@ describe('Notifications API', function () {
it('can add notifications', async function () {
for (let i = 0; i < 3; i++) {
const id = await notifications._add(null, `title ${i}`, `message ${i}`);
const id = await notifications._add(`title ${i}`, `message ${i}`, { eventId: null });
notificationIds.push(id);
}
});