Ensure enable button doesn't unexpectedly disappear

Co-authored-by: Andreas Nedbal <git@pixelde.su>
This commit is contained in:
Karina Kwiatek 2023-01-05 11:53:19 +01:00
parent 7673ecdadf
commit 01f4ed499d
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@ export default (): void => {
subscriptionChecked = true;
return;
}
} else {
enableBtn?.classList.remove('d-none');
}
enableBtn?.classList.remove('d-none');
if (localStorage.getItem('dismiss-push-settings-prompt') == null) {
document.querySelector('.push-settings')?.classList.remove('d-none');
}