mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: format check for datetime attribute in edit modal
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@
|
||||
|
||||
$: option = options.find((option) => {
|
||||
if (selectedAttribute) {
|
||||
if ('format' in selectedAttribute) {
|
||||
if ('format' in selectedAttribute && selectedAttribute.format) {
|
||||
return option?.format === selectedAttribute?.format;
|
||||
} else {
|
||||
return option?.type === selectedAttribute?.type;
|
||||
|
||||
Reference in New Issue
Block a user