From 33797c5898561b559868aae201ae3251c6a73db4 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 7 Mar 2023 19:35:47 -0800 Subject: [PATCH] Minor fixes --- src/components/modal/EditDate.vue | 2 +- src/components/modal/EditExif.vue | 2 +- src/types.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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;