Skip to content

Commit

Permalink
dont setup notifications if not logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronClaydon committed Apr 21, 2024
1 parent 9b2b3fa commit e8baca0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export default {
},
mounted() {
this.$nextTick(function () {
notify.setupNotifications(this.auth0, this.$messaging)
if (this.auth0.isAuthenticated) {
notify.setupNotifications(this.auth0, this.$messaging)
}
})
}
}
Expand Down

0 comments on commit e8baca0

Please sign in to comment.