mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: clear fields when modal closed
This commit is contained in:
@@ -32,6 +32,13 @@
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$: if (!showDropdown) {
|
||||
id = null;
|
||||
}
|
||||
$: if (!showCreate) {
|
||||
showDropdown = false;
|
||||
}
|
||||
</script>
|
||||
|
||||
<Form on:submit={create}>
|
||||
|
||||
@@ -77,6 +77,10 @@
|
||||
read = [];
|
||||
write = [];
|
||||
}
|
||||
|
||||
$: if (!showDropdown) {
|
||||
id = null;
|
||||
}
|
||||
</script>
|
||||
|
||||
<input bind:files id="file" type="file" style="display: none" />
|
||||
|
||||
Reference in New Issue
Block a user