mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
fix order
This commit is contained in:
@@ -164,6 +164,11 @@ const payload = ref<{ branch: string; variables: Record<string, string> }>({
|
||||
|
||||
const isVariablesValid = ref(true);
|
||||
|
||||
const parameters = ref<Parameter[]>([]);
|
||||
const paramValues = ref<Record<string, any>>({});
|
||||
const paramTrimEnabled = ref<Record<string, boolean>>({});
|
||||
const passwordVisibility = ref<Record<string, boolean>>({});
|
||||
|
||||
const isFormValid = computed(() => {
|
||||
return payload.value.branch !== '' && isVariablesValid.value;
|
||||
});
|
||||
@@ -202,10 +207,6 @@ const pipelineOptions = computed(() => {
|
||||
});
|
||||
|
||||
const loading = ref(true);
|
||||
const parameters = ref<Parameter[]>([]);
|
||||
const paramValues = ref<Record<string, any>>({});
|
||||
const paramTrimEnabled = ref<Record<string, boolean>>({});
|
||||
const passwordVisibility = ref<Record<string, boolean>>({});
|
||||
|
||||
function getOptionsFromDefaultValue(defaultValue: string, addEmptyOption = false) {
|
||||
const options = defaultValue
|
||||
|
||||
Reference in New Issue
Block a user