diff --git a/components/forms/ImageComponent.vue b/components/forms/ImageComponent.vue index 7923b49..66c117f 100644 --- a/components/forms/ImageComponent.vue +++ b/components/forms/ImageComponent.vue @@ -57,7 +57,7 @@ const STATUS_INITIAL = 0, STATUS_SUCCESS = 2, STATUS_FAILED = 3; -import { upload } from "@services/fileUploadService"; +// import { upload } from "@services/fileUploadService.js"; import { wait } from "~/manuals/utilities.js"; import formBuilderMixin from "@mixins/formBuilderMixin"; @@ -107,16 +107,16 @@ export default { // upload data to the server this.currentStatus = STATUS_SAVING; - upload(formData) - .then(wait(1500)) // DEV ONLY: wait for 1.5s - .then((x) => { - this.uploadedFiles = [].concat(x); - this.currentStatus = STATUS_SUCCESS; - }) - .catch((err) => { - this.uploadError = err.response; - this.currentStatus = STATUS_FAILED; - }); + // upload(formData) + // .then(wait(1500)) // DEV ONLY: wait for 1.5s + // .then((x) => { + // this.uploadedFiles = [].concat(x); + // this.currentStatus = STATUS_SUCCESS; + // }) + // .catch((err) => { + // this.uploadError = err.response; + // this.currentStatus = STATUS_FAILED; + // }); }, reset() { // reset form to initial state diff --git a/components/forms/SelectComponentDefault.vue b/components/forms/SelectComponentDefault.vue index ad84ee8..f91c5b9 100644 --- a/components/forms/SelectComponentDefault.vue +++ b/components/forms/SelectComponentDefault.vue @@ -30,13 +30,15 @@