Skip to content

Commit f4a2b56

Browse files
committed
Update form handling in pipelines component to conditionally disable switch when editing and failing to change deployment secrets.
1 parent 19a5dea commit f4a2b56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/src/components/pipelines/form.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@
4848
cols="12"
4949
md="8"
5050
>
51+
<!-- disabled when editing due to failing to change the deployment secrets -->
5152
<v-switch
5253
v-model="gitops"
54+
v-if="pipeline=='new'"
5355
label="Enable Pipeline to build from Source"
5456
color="primary"
5557
></v-switch>

0 commit comments

Comments
 (0)