From 1dcdf1fa6022c6c42b642620ccf3d86d4077bf0c Mon Sep 17 00:00:00 2001 From: Vincent Auger Date: Fri, 8 Nov 2024 10:53:59 -0400 Subject: [PATCH] fix: change organizationId declaration to let for v-model compatibility --- .../AuthorEmployment/components/AddAuthorEmploymentDialog.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/src/models/AuthorEmployment/components/AddAuthorEmploymentDialog.vue b/resources/src/models/AuthorEmployment/components/AddAuthorEmploymentDialog.vue index ef276485..6eb88992 100644 --- a/resources/src/models/AuthorEmployment/components/AddAuthorEmploymentDialog.vue +++ b/resources/src/models/AuthorEmployment/components/AddAuthorEmploymentDialog.vue @@ -15,7 +15,8 @@ const emit = defineEmits<{ }>() // form data -const organizationId = 1 +// eslint-disable-next-line prefer-const -- used as v-model in the template +let organizationId = 1 const roleTitle = ref(null) const departmentName = ref(null) const startDate = ref(null)