remove useless props in button

This commit is contained in:
Sam Chow 2018-05-08 10:39:10 -04:00
parent 7b28f745f7
commit 3a25a7c9e6
2 changed files with 3 additions and 3 deletions

View file

@ -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;