Hide push notification prompt in inbox after accepting
This commit is contained in:
parent
05a8ef1797
commit
35a3b6b87a
|
@ -32,6 +32,8 @@ export function enableHandler (event: Event): void {
|
|||
.forEach(button => button.classList.remove('d-none'));
|
||||
|
||||
sender.classList.add('d-none');
|
||||
document.querySelector<HTMLDivElement>('.push-settings')?.classList.add('d-none');
|
||||
localStorage.setItem('dismiss-push-settings-prompt', 'true');
|
||||
|
||||
document.getElementById('subscription-count').textContent = data.message;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue