diff --git a/static/js/pages/user-view.js b/static/js/pages/user-view.js index ec78f24b7..33b31e74b 100644 --- a/static/js/pages/user-view.js +++ b/static/js/pages/user-view.js @@ -218,6 +218,7 @@ .then((newPermission) => { if (newPermission === 'granted') { CookieService.putPermanent('quay.enabledDesktopNotifications', 'on'); + CookieService.putPermanent('quay.notifications.mostRecentTimestamp', new Date().getTime().toString()); $scope.notificationsPermissionsEnabled = true; } else { $scope.notificationsPermissionsEnabled = false; diff --git a/static/partials/user-view.html b/static/partials/user-view.html index 9e3a90dc3..2e48b09e7 100644 --- a/static/partials/user-view.html +++ b/static/partials/user-view.html @@ -174,9 +174,8 @@