Work on room info and start on profile view

This commit is contained in:
N-Pex 2021-01-20 14:44:10 +01:00
parent 6e0e1dd31c
commit 19e8b64e7b
8 changed files with 403 additions and 87 deletions

View file

@ -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);
}