Fix bug with joining new channels
This commit is contained in:
parent
347802a4b6
commit
1adbbdda2a
@ -59,7 +59,9 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
const existingChannel = this.$store.getters.findChannelOnCurrentNetwork(this.channel);
|
const existingChannel = this.$store.getters.findChannelOnCurrentNetwork(
|
||||||
|
this.inputChannel
|
||||||
|
);
|
||||||
|
|
||||||
if (existingChannel) {
|
if (existingChannel) {
|
||||||
this.$root.switchToChannel(existingChannel);
|
this.$root.switchToChannel(existingChannel);
|
||||||
|
Loading…
Reference in New Issue
Block a user