mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-21 15:46:36 +02:00
Fix bug with joining new channels
This commit is contained in:
parent
347802a4b6
commit
1adbbdda2a
|
@ -59,7 +59,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
onSubmit() {
|
||||
const existingChannel = this.$store.getters.findChannelOnCurrentNetwork(this.channel);
|
||||
const existingChannel = this.$store.getters.findChannelOnCurrentNetwork(
|
||||
this.inputChannel
|
||||
);
|
||||
|
||||
if (existingChannel) {
|
||||
this.$root.switchToChannel(existingChannel);
|
||||
|
|
Loading…
Reference in a new issue