Skip to content

Commit ca9b2d6

Browse files
authored
Fix #1596
Added validation to the router to prevent showing loading animation
1 parent cdab4a9 commit ca9b2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const createRouter = () => {
5555
};
5656

5757
router.beforeEach(async (to, from) => {
58-
if (to.name) {
58+
if (to.name && to.name !== from.name) {
5959
ProgressBar.start();
6060
}
6161
const matchedRoute = to.matched.find(

0 commit comments

Comments
 (0)