forked from verdnatura/salix-front
test: refs #8039 fix WorkerNotification e2e
This commit is contained in:
parent
0c9c01b6e9
commit
cd00a3c67f
|
@ -44,8 +44,9 @@ async function toggleNotification(notification) {
|
||||||
`worker.notificationsManager.${notification.active ? '' : 'un'}subscribed`
|
`worker.notificationsManager.${notification.active ? '' : 'un'}subscribed`
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
} catch {
|
} catch (e) {
|
||||||
notification.active = !notification.active;
|
notification.active = !notification.active;
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue