diff --git a/src/front/src/components/vote/VoteConstructor.vue b/src/front/src/components/vote/VoteConstructor.vue index d6c8d0729..02e27c1e3 100644 --- a/src/front/src/components/vote/VoteConstructor.vue +++ b/src/front/src/components/vote/VoteConstructor.vue @@ -349,6 +349,7 @@ export default { const testImage = ref(null); const imagePreview = ref(null); const selectedEmployees = ref([]); + const imageError = ref(''); const rules = { required: (value) => !!value || 'Это поле обязательно для заполнения', @@ -688,7 +689,8 @@ export default { getImagePreviewUrl, actualQuestionCount, actualTestQuestionCount, - isTest: props.isTest + isTest: props.isTest, + imageError }; }, };