diff --git a/frontend/views/Update.vue b/frontend/views/Update.vue index 3a7c83a..4f2766b 100644 --- a/frontend/views/Update.vue +++ b/frontend/views/Update.vue @@ -43,7 +43,6 @@ v-model="environment" class="textarea" placeholder="DURATION=60s" - required > @@ -75,7 +74,7 @@ export default { return { custom_name: null as string | null, image: null as string | null, - environment: null as string | null, + environment: '', error: '', loading: false, } @@ -107,6 +106,7 @@ export default { }, methods: { async submit() { + if (!this.image || !(this.custom_name ?? this.container_name)) return try { this.loading = true const { data } = await axios.post(