Compare commits

...

1 Commits

Author SHA1 Message Date
3813cef605 Don't stop signup if enable-push failed 2024-02-16 14:55:35 +03:00

View File

@ -123,6 +123,7 @@ export const ModalConfirmConnect = () => {
const options = { perms, appUrl }
await confirmPending(pendingReqId, true, true, options)
} else {
try {
await askNotificationPermission()
const result = await swicCall('enablePush')
@ -131,7 +132,7 @@ export const ModalConfirmConnect = () => {
} catch (e: any) {
console.log('error', e)
notify('Please enable Notifications in website settings!', 'error')
return
// keep going
}
try {