Skip to content

Commit 19a5dea

Browse files
committed
simplify pipeline form
1 parent f78e981 commit 19a5dea

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

client/src/components/pipelines/form.vue

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
<v-row>
343343
<v-col
344344
cols="12"
345-
md="5"
345+
md="3"
346346
class="py-0"
347347
>
348348
<v-switch
@@ -354,8 +354,21 @@
354354
color="primary"
355355
></v-switch>
356356
</v-col>
357+
<v-col
358+
cols="12"
359+
md="4"
360+
class="py-0"
361+
>
362+
<v-select
363+
v-model="phase.context"
364+
:items="contextList"
365+
label="Cluster"
366+
v-if="phase.enabled && phase.name != 'review'"
367+
dense
368+
></v-select>
369+
</v-col>
357370
</v-row>
358-
<div v-if="phase.enabled">
371+
<div v-if="phase.enabled && phase.name == 'review'">
359372
<v-row>
360373
<v-col
361374
cols="12"
@@ -459,7 +472,7 @@
459472
</v-btn>
460473
</v-col>
461474
</v-row>
462-
<hr class="mb-5" v-if="phase.name != 'production'">
475+
<hr class="mb-5">
463476
</div>
464477
</div>
465478
</v-card-text>

0 commit comments

Comments
 (0)