Button added to create room page from login

This commit is contained in:
Tenzin Passang 2021-11-03 20:58:45 +02:00
parent 0ed3550531
commit b9119d6778
9 changed files with 37 additions and 9 deletions

View file

@ -71,9 +71,18 @@
block
@click.stop="handleLogin"
:loading="loading"
class="filled-button mt-8"
class="filled-button mt-4"
>{{ $t("login.login") }}</v-btn
>
<div class="mt-2 overline">{{ $t("login.or") }}</div>
<v-btn
color="primary"
depressed
block
@click.stop="handleCreateRoom"
class="filled-button mt-2"
>{{ $t("login.create_room") }}</v-btn
>
</v-form>
</div>
</div>
@ -185,6 +194,9 @@ export default {
);
}
},
handleCreateRoom() {
this.$navigation.push({ name: "CreateRoom" });
},
},
};
</script>