Work on room info and start on profile view
This commit is contained in:
parent
6e0e1dd31c
commit
19e8b64e7b
8 changed files with 403 additions and 87 deletions
|
|
@ -19,6 +19,11 @@ export default {
|
|||
next(routes[0]);
|
||||
return;
|
||||
}
|
||||
// If we have a room id param, it needs to be the same, else we call "next" with the correct one
|
||||
if (index >= 0 && routes[index].params && to.params && routes[index].params.roomId != to.params.roomId) {
|
||||
next(routes[0]);
|
||||
return;
|
||||
}
|
||||
if (index >= 0) {
|
||||
routes.splice(index + 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue