remove useless props in button
This commit is contained in:
parent
7b28f745f7
commit
3a25a7c9e6
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -174,9 +174,8 @@
|
|||
<td>Desktop Notifications:</td>
|
||||
<td>
|
||||
<span>Enable Desktop Notifications:
|
||||
<button class=""
|
||||
ng-disabled="desktopNotificationsPermissionIsDisabled()"
|
||||
ng-click="toggleDesktopNotifications($event)"
|
||||
<button ng-disabled="desktopNotificationsPermissionIsDisabled()"
|
||||
ng-click="toggleDesktopNotifications()"
|
||||
ng-model="notificationsPermissionsEnabled"
|
||||
>{{ notificationsPermissionsEnabled ? 'enabled' : 'disabled' }}
|
||||
</button>
|
||||
|
|
Reference in a new issue