#34 - fix console error

This commit is contained in:
isUnknown 2024-12-17 14:16:00 +01:00
parent 6b8871784e
commit 0cf26819ce
2 changed files with 15 additions and 11 deletions

View file

@ -175,7 +175,8 @@ function readAll() {
function read(notification) {
if (!notification.isRead) {
api.readNotification(notification.id).then((res) => {
router.push(toPath(notification.location.href));
console.log(res);
// router.push(toPath(notification.location.href));
});
}
router.push(toPath(notification.location.href));