mirror of
https://github.com/thelounge/thelounge
synced 2025-02-22 08:08:29 +00:00
Fix bug with joining new channels
This commit is contained in:
parent
347802a4b6
commit
1adbbdda2a
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue