Fix DateTime attribute editor (#6055)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-07-12 10:28:40 +05:00 committed by GitHub
parent 585e565518
commit bda3404c50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@
label={setting.string.DateMode}
on:selected={(res) => {
selected = res.detail
dispatch('change', { type: TypeDate(res.detail._id) })
dispatch('change', { type: TypeDate(res.detail) })
}}
/>
{:else}