mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user