feat: add notifications system with bell badge, polling, Directus flows, and webhook integration
This commit is contained in:
@@ -20,6 +20,14 @@ async function initApp() {
|
||||
favoritesService.init()
|
||||
notificationsService.init()
|
||||
|
||||
auth.subscribe((loggedIn) => {
|
||||
if (loggedIn) {
|
||||
notificationsService.init()
|
||||
} else {
|
||||
notificationsService.destroy()
|
||||
}
|
||||
})
|
||||
|
||||
await import('./components/app-shell.js')
|
||||
|
||||
document.getElementById('app').innerHTML = '<app-shell></app-shell>'
|
||||
|
||||
Reference in New Issue
Block a user