Skip to content

Commit 959e9fe

Browse files
Move FormBoolean back to FormElement field in workflow run form
As opposed to on the step header where we moved it to in galaxyproject@47eb5e8.
1 parent 90e4bc2 commit 959e9fe

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

client/src/components/Form/FormElement.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ const isHidden = computed(() => attrs.value["hidden"]);
163163
const elementId = computed(() => `form-element-${props.id}`);
164164
const hasAlert = computed(() => alerts.value.length > 0);
165165
const showPreview = computed(() => (collapsed.value && attrs.value["collapsible_preview"]) || props.disabled);
166-
const showField = computed(
167-
() => !collapsed.value && !props.disabled && (!props.workflowRun || props.type !== "boolean")
168-
);
166+
const showField = computed(() => !collapsed.value && !props.disabled);
169167
const formDataField = computed(() =>
170168
props.type && ["data", "data_collection"].includes(props.type) ? (props.type as "data" | "data_collection") : null
171169
);
@@ -333,9 +331,6 @@ function onAlert(value: string | undefined) {
333331
:is-empty="isEmpty"
334332
:is-optional="isOptional"
335333
:extensions="attrs.extensions">
336-
<template v-slot:form-element>
337-
<FormBoolean v-if="props.type === 'boolean'" :id="props.id" v-model="currentValue" />
338-
</template>
339334
<template v-slot:action-items>
340335
<slot name="workflow-run-form-title-items" />
341336
</template>

0 commit comments

Comments
 (0)