File tree 1 file changed +15
-2
lines changed
client/src/components/pipelines
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-form v-model =" valid" >
3
3
<v-container >
4
+ <Breadcrumbs :items =" breadcrumbItems" ></Breadcrumbs >
4
5
<v-row >
5
6
<v-col cols =" 12" sm =" 12" md =" 12" lg =" 12" xl =" 12" >
6
7
224
225
<script lang="ts">
225
226
import axios from " axios" ;
226
227
import { defineComponent } from ' vue'
228
+ import Breadcrumbs from " ../breadcrumbs.vue" ;
227
229
228
230
type Buildpack = {
229
231
name? : string ,
@@ -257,7 +259,15 @@ export default defineComponent({
257
259
default: " new"
258
260
}
259
261
},
260
- data : () => ({
262
+ data () {
263
+ return {
264
+ breadcrumbItems: [
265
+ {
266
+ title: ' dashboard.-' ,
267
+ disabled: false ,
268
+ to: { name: ' Pipelines' , params: {}}
269
+ },
270
+ ],
261
271
gitops: false ,
262
272
dockerimage: ' ' ,
263
273
deploymentstrategy: " git" ,
@@ -348,7 +358,7 @@ export default defineComponent({
348
358
// ((git|ssh|http(s)?)|(git@[\w\.]+))(:(//)?)([\w\.@\:/\-~]+)(\.git)(/)?
349
359
(v : any ) => / ((git| ssh| http(s)? )| (git@[\w. ] + ))(:(\/\/ )? )([\w. @:/\-~ ] + )(\. git)(\/ )? / .test (v ) || ' Format "owner/repository"' ,
350
360
],
351
- }),
361
+ }},
352
362
computed: {
353
363
showConnectButton() {
354
364
return this .gitrepoItems .includes (this .gitrepo ) && this .repository_status .connected === false ;
@@ -361,6 +371,9 @@ export default defineComponent({
361
371
this .loadRepository ();
362
372
this .loadPipeline ();
363
373
},
374
+ components: {
375
+ Breadcrumbs ,
376
+ },
364
377
methods: {
365
378
updateBuildpack(buildpack : Buildpack ) {
366
379
this .buildpack = buildpack ;
You can’t perform that action at this time.
0 commit comments