Skip to content

Commit db46d96

Browse files
make invocation view step config readonly via a disabled fieldset
1 parent 5eae4f1 commit db46d96

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

client/src/components/WorkflowInvocationState/WorkflowInvocationStep.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,13 @@ onUnmounted(() => {
329329
<BAlert v-if="loadingStepConfig" show>
330330
<LoadingSpan message="Loading step configuration" />
331331
</BAlert>
332+
<fieldset v-else-if="activeStepWithConfig" disabled>
332333
<FormTool
333-
v-else-if="workflowStepType === 'tool' && activeStepWithConfig"
334-
:step="activeStepWithConfig"
335-
:datatypes="datatypes" />
336-
<FormDefault
337-
v-else-if="workflowStepType !== 'tool' && activeStepWithConfig"
334+
v-if="workflowStepType === 'tool'"
338335
:step="activeStepWithConfig"
339336
:datatypes="datatypes" />
337+
<FormDefault v-else :step="activeStepWithConfig" :datatypes="datatypes" />
338+
</fieldset>
340339
</GTab>
341340
</GTabs>
342341
</div>

0 commit comments

Comments
 (0)