diff --git a/src/components/modal/EditDate.vue b/src/components/modal/EditDate.vue
index cc9255e84..e5ae6f8e0 100644
--- a/src/components/modal/EditDate.vue
+++ b/src/components/modal/EditDate.vue
@@ -18,6 +18,7 @@
:placeholder="t('memories', 'Year')"
:disabled="disabled"
@input="newestChange()"
+ @keypress.enter="$emit('save')"
/>
@@ -87,6 +92,7 @@
:placeholder="t('memories', 'Year')"
:disabled="disabled"
@input="oldestChange()"
+ @keypress.enter="$emit('save')"
/>
@@ -166,6 +176,10 @@ export default defineComponent({
},
},
+ emits: {
+ save: () => true,
+ },
+
data: () => ({
sortedPhotos: [] as IPhoto[],
diff --git a/src/components/modal/EditMetadataModal.vue b/src/components/modal/EditMetadataModal.vue
index 5985d0351..e0847325b 100644
--- a/src/components/modal/EditMetadataModal.vue
+++ b/src/components/modal/EditMetadataModal.vue
@@ -15,7 +15,7 @@
{{ t('memories', 'Date / Time') }}
-
+