feat: instant meeting browser notifcations (#16480)
* feat: instant meeting browser notifcations * chore: support multiple notifications * chore: save progress * fix: add test notification and move file * fix: type err * chore: feedback improvements * chore: undo DENY
This commit is contained in:
1 parent
5bc0e1265d
commit
860d173f0a
9 files changed
+220
-37
No files matched your search
@@ -92,6 +92,7 @@ export const useNotifications = () => {
|
||||
}
|
||||
|
||||
const registration = await navigator.serviceWorker?.getRegistration();
|
||||
|
||||
if (!registration) {
|
||||
// This will not happen ideally as the button will not be shown if the service worker is not registered
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user