Web/reload issue (#2139)

This commit is contained in:
Bogdan Artemenko 2019-06-06 18:40:17 +03:00 committed by GitHub
parent 0fc8fd533d
commit 206c3a20fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ let router = new Router({
// and if we are able to navigate to page without existing project
router.beforeEach((to, from, next) => {
if (isUnavailablePageWithoutProject(to.name as string)) {
next(ROUTES.PROJECT_OVERVIEW + '/' + ROUTES.PROJECT_DETAILS);
next(ROUTES.PROJECT_OVERVIEW.path + '/' + ROUTES.PROJECT_DETAILS.path);
return;
}