mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +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'));
|
||||
}
|
||||
};
|
||||
|
||||
const reset = () => {
|
||||
userIds = [];
|
||||
groupIds = [];
|
||||
loading = false;
|
||||
};
|
||||
|
||||
$: if (!show) {
|
||||
reset();
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if channel}
|
||||
|
|
|
|||
Loading…
Reference in a new issue