Web/reload issue (#2139)
This commit is contained in:
parent
0fc8fd533d
commit
206c3a20fa
@ -145,7 +145,7 @@ let router = new Router({
|
|||||||
// and if we are able to navigate to page without existing project
|
// and if we are able to navigate to page without existing project
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
if (isUnavailablePageWithoutProject(to.name as string)) {
|
if (isUnavailablePageWithoutProject(to.name as string)) {
|
||||||
next(ROUTES.PROJECT_OVERVIEW + '/' + ROUTES.PROJECT_DETAILS);
|
next(ROUTES.PROJECT_OVERVIEW.path + '/' + ROUTES.PROJECT_DETAILS.path);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user