Make sure "new room" goes to new "create" landing page, not "createroom"

This commit is contained in:
N-Pex 2025-02-06 11:00:09 +01:00
parent db56748219
commit 3620bb2743
5 changed files with 5 additions and 5 deletions

View file

@ -67,7 +67,7 @@ export default {
}, },
createRoom() { createRoom() {
this.$navigation.push({ name: "CreateRoom" }); this.$navigation.push({ name: "Create" });
}, },
}, },
}; };

View file

@ -222,7 +222,7 @@ export default {
} }
}, },
handleCreateRoom() { handleCreateRoom() {
this.$navigation.push({ name: "CreateRoom" }); this.$navigation.push({ name: "Create" });
}, },
onUsernameEnter() { onUsernameEnter() {
this.$refs.password.focus(); this.$refs.password.focus();

View file

@ -108,7 +108,7 @@ export default {
}, },
createRoom() { createRoom() {
this.showDialog = false; this.showDialog = false;
this.$navigation.push({ name: "CreateRoom" }); this.$navigation.push({ name: "Create" });
}, },
}, },
}; };

View file

@ -39,7 +39,7 @@ export default {
createRoom() { createRoom() {
this.close(); this.close();
this.$navigation.push({ name: "CreateRoom" }); this.$navigation.push({ name: "Create" });
} }
} }
}; };

View file

@ -187,7 +187,7 @@ export default {
}, },
roomChange(room) { roomChange(room) {
if (room == null || room == undefined) { if (room == null || room == undefined || room == 0) {
// Ignore, this is caused by "new room" etc. // Ignore, this is caused by "new room" etc.
return; return;
} }