fix: Show new message screen instead of input field (#4102)

This commit is contained in:
Pranav Raj S
2022-03-03 12:36:31 +05:30
committed by GitHub
parent 3d7ca61481
commit 28d102f526
5 changed files with 32 additions and 22 deletions

View File

@@ -1,8 +1,8 @@
export default {
methods: {
async replaceRoute(name) {
async replaceRoute(name, params = {}) {
if (this.$route.name !== name) {
return this.$router.replace({ name });
return this.$router.replace({ name, params });
}
return undefined;
},