mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
UX: Disable button when Notification permission is denied.
This commit is contained in:
parent
45ab42dea9
commit
e3d5cc54a1
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
{{d-button icon="bell-slash" label="user.desktop_notifications.perm_default" action="requestPermission"}}
|
||||
{{/if}}
|
||||
{{#if isDeniedPermission}}
|
||||
{{d-button icon="bell-slash" label="user.desktop_notifications.perm_denied_btn" action="recheckPermission"}}
|
||||
{{d-button icon="bell-slash" label="user.desktop_notifications.perm_denied_btn" action="recheckPermission" disabled='true'}}
|
||||
{{i18n "user.desktop_notifications.perm_denied_expl"}}
|
||||
{{/if}}
|
||||
{{#if isGrantedPermission}}
|
||||
|
|
Loading…
Reference in a new issue