mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
01868e856a
commit
34169b3581
1 changed files with 10 additions and 0 deletions
|
|
@ -37,6 +37,16 @@
|
||||||
toast.error($i18n.t('Failed to add members'));
|
toast.error($i18n.t('Failed to add members'));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const reset = () => {
|
||||||
|
userIds = [];
|
||||||
|
groupIds = [];
|
||||||
|
loading = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
$: if (!show) {
|
||||||
|
reset();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if channel}
|
{#if channel}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue