diff --git a/src/components/modal/EditDate.vue b/src/components/modal/EditDate.vue index de72bcbb..0642b08d 100644 --- a/src/components/modal/EditDate.vue +++ b/src/components/modal/EditDate.vue @@ -116,7 +116,7 @@ export default defineComponent({ props: { photos: { - type: Array, + type: Array, required: true, }, }, diff --git a/src/components/modal/EditExif.vue b/src/components/modal/EditExif.vue index abae2656..64c714a2 100644 --- a/src/components/modal/EditExif.vue +++ b/src/components/modal/EditExif.vue @@ -31,7 +31,7 @@ export default defineComponent({ props: { photos: { - type: Array, + type: Array, required: true, }, }, diff --git a/src/types.ts b/src/types.ts index 01775c09..93b2eb24 100644 --- a/src/types.ts +++ b/src/types.ts @@ -77,6 +77,7 @@ export type IPhoto = { w: number; datetaken: number; address?: string; + tags: { [id: string]: string }; exif?: { Rotation?: number; Orientation?: number;