trying to fix params
This commit is contained in:
parent
02ef34aa77
commit
209850826c
1 changed files with 2 additions and 1 deletions
|
|
@ -35,6 +35,7 @@ const routes = [
|
|||
},
|
||||
{
|
||||
path: "/",
|
||||
name: "root",
|
||||
async beforeEnter(to, from, next) {
|
||||
// If we have no query string, or we don't have the FmgPage query string.
|
||||
if (to.query.fmgPage === undefined) {
|
||||
|
|
@ -97,7 +98,7 @@ router.navigate = (
|
|||
if (matchingScenarioMap.destinationFmgPageValue !== undefined) {
|
||||
// We're always pushing the same path, just changing query strings. Make sure our optional query strings get combined with our fmgPage one.
|
||||
router.push({
|
||||
path: "/",
|
||||
name: "root",
|
||||
query: Object.assign(optionalQuery, {
|
||||
fmgPage: matchingScenarioMap.destinationFmgPageValue,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue