refac
This commit is contained in:
1 parent
01868e856a
commit
34169b3581
1 file changed
+10
@@ -37,6 +37,16 @@
|
||||
toast.error($i18n.t('Failed to add members'));
|
||||
}
|
||||
};
|
||||
|
||||
const reset = () => {
|
||||
userIds = [];
|
||||
groupIds = [];
|
||||
loading = false;
|
||||
};
|
||||
|
||||
$: if (!show) {
|
||||
reset();
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if channel}
|
||||
|
||||
Reference in new issue
Block a user