diff --git a/web/src/views/repo/RepoManualPipeline.vue b/web/src/views/repo/RepoManualPipeline.vue index 4261be0fb..a600dac35 100644 --- a/web/src/views/repo/RepoManualPipeline.vue +++ b/web/src/views/repo/RepoManualPipeline.vue @@ -164,6 +164,11 @@ const payload = ref<{ branch: string; variables: Record }>({ const isVariablesValid = ref(true); +const parameters = ref([]); +const paramValues = ref>({}); +const paramTrimEnabled = ref>({}); +const passwordVisibility = ref>({}); + const isFormValid = computed(() => { return payload.value.branch !== '' && isVariablesValid.value; }); @@ -202,10 +207,6 @@ const pipelineOptions = computed(() => { }); const loading = ref(true); -const parameters = ref([]); -const paramValues = ref>({}); -const paramTrimEnabled = ref>({}); -const passwordVisibility = ref>({}); function getOptionsFromDefaultValue(defaultValue: string, addEmptyOption = false) { const options = defaultValue