Skip to content

Commit

Permalink
fix: about page issue for admin when nextlaunch = false
Browse files Browse the repository at this point in the history
  • Loading branch information
rowangamal committed Aug 20, 2024
1 parent 8857797 commit a44c287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/layouts/default/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default {
"/otp",
"/newPassword",
"/maintenance",
// "/nextlaunch",
"/nextlaunch",
"/about"
]);
const items = ref([
Expand Down
1 change: 1 addition & 0 deletions client/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ router.beforeEach(async (to, from, next) => {
next();
} else {
await userService.nextlaunch();
await userService.handleNextLaunch();
next();
}
});
Expand Down

0 comments on commit a44c287

Please sign in to comment.