File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
client/src/components/pipelines Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 11<template >
22 <v-form v-model =" valid" >
33 <v-container >
4+ <Breadcrumbs :items =" breadcrumbItems" ></Breadcrumbs >
45 <v-row >
56 <v-col cols =" 12" sm =" 12" md =" 12" lg =" 12" xl =" 12" >
67
224225<script lang="ts">
225226import axios from " axios" ;
226227import { defineComponent } from ' vue'
228+ import Breadcrumbs from " ../breadcrumbs.vue" ;
227229
228230type Buildpack = {
229231 name? : string ,
@@ -257,7 +259,15 @@ export default defineComponent({
257259 default: " new"
258260 }
259261 },
260- data : () => ({
262+ data () {
263+ return {
264+ breadcrumbItems: [
265+ {
266+ title: ' dashboard.-' ,
267+ disabled: false ,
268+ to: { name: ' Pipelines' , params: {}}
269+ },
270+ ],
261271 gitops: false ,
262272 dockerimage: ' ' ,
263273 deploymentstrategy: " git" ,
@@ -348,7 +358,7 @@ export default defineComponent({
348358 // ((git|ssh|http(s)?)|(git@[\w\.]+))(:(//)?)([\w\.@\:/\-~]+)(\.git)(/)?
349359 (v : any ) => / ((git| ssh| http(s)? )| (git@[\w. ] + ))(:(\/\/ )? )([\w. @:/\-~ ] + )(\. git)(\/ )? / .test (v ) || ' Format "owner/repository"' ,
350360 ],
351- }),
361+ }},
352362 computed: {
353363 showConnectButton() {
354364 return this .gitrepoItems .includes (this .gitrepo ) && this .repository_status .connected === false ;
@@ -361,6 +371,9 @@ export default defineComponent({
361371 this .loadRepository ();
362372 this .loadPipeline ();
363373 },
374+ components: {
375+ Breadcrumbs ,
376+ },
364377 methods: {
365378 updateBuildpack(buildpack : Buildpack ) {
366379 this .buildpack = buildpack ;
You can’t perform that action at this time.
0 commit comments