We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13a5406 commit f721255Copy full SHA for f721255
webcomponents/tool/src/main/frontend/packages/sakai-notifications/src/SakaiNotifications.js
@@ -451,7 +451,7 @@ export class SakaiNotifications extends SakaiElement {
451
` : nothing}
452
453
${this._state === NOTIFICATIONS ? html`
454
- ${Notification.permission !== "granted" && this._online ? html`
+ ${Notification.permission !== "granted" && this._online && this.pushEnabled ? html`
455
<div class="alert alert-warning">
456
<span class="me-1">${this._i18n.push_not_enabled}</span>
457
<button type="button"
0 commit comments