mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-19 14:46:36 +02:00
fix watching channel changing
This commit is contained in:
parent
a1659e1c02
commit
314ff7774b
|
@ -229,9 +229,12 @@ export default defineComponent({
|
|||
});
|
||||
};
|
||||
|
||||
watch(props.channel, () => {
|
||||
channelChanged();
|
||||
});
|
||||
watch(
|
||||
() => props.channel,
|
||||
() => {
|
||||
channelChanged();
|
||||
}
|
||||
);
|
||||
|
||||
const editTopicRef = ref(props.channel.editTopic);
|
||||
watch(editTopicRef, (newTopic) => {
|
||||
|
|
Loading…
Reference in a new issue