diff --git a/src/router/index.js b/src/router/index.js index f1898fa2..06c209b1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -64,8 +64,7 @@ const routes = [ if (!arePagePrerequisitesValid(component)) { await GoToStartOn404(next); } - console.log(`to: ${JSON.stringify(to)}`); - // console.log(`from: ${JSON.stringify(from)}`); + return next({ name: issPageToUse, query: to.query, params: to.params }); } @@ -249,7 +248,6 @@ function navigate( // We're always pushing the same path, just changing query strings. // Make sure our optional query strings get combined with our issPage one. - console.log(`optional params: ${JSON.stringify(optionalParams)}`); router.push({ name: 'root', query: Object.assign(optionalQuery, {