mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: initial value changing on expiration input
This commit is contained in:
@@ -68,7 +68,9 @@
|
||||
let expirationCustom: string | null = value ?? null;
|
||||
|
||||
$: {
|
||||
value = expirationSelect === 'custom' ? expirationCustom : expirationSelect;
|
||||
if (!isSameDay(new Date(expirationSelect), new Date(value))) {
|
||||
value = expirationSelect === 'custom' ? expirationCustom : expirationSelect;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user