refactor: badge page data

This commit is contained in:
Jannat Patel
2025-01-06 12:36:44 +05:30
parent bd2b558154
commit 052fffccef
3 changed files with 26 additions and 42 deletions

View File

@@ -228,8 +228,7 @@ router.beforeEach(async (to, from, next) => {
isLoggedIn &&
(to.name == 'Lesson' ||
to.name == 'Batch' ||
to.name == 'Notifications' ||
to.name == 'Badge')
to.name == 'Notifications')
) {
await allUsers.promise
}