For replace, we don't need the nextRoutes
Fix for selecting rooms in the drop down creating more and more history entries.
This commit is contained in:
parent
999dad0909
commit
6e38fe2b08
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ export default {
|
|||
router.go(index);
|
||||
} else if (index == 0) {
|
||||
console.log("Nav - replace");
|
||||
routes = nextRoutes;
|
||||
nextRoutes = null;
|
||||
router.replace(route).catch((ignoredErr) => {});
|
||||
} else {
|
||||
console.log("Nav - push");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue