task: add missing properties to rundetails

This commit is contained in:
Simone Gotti 2019-05-21 18:11:02 +02:00
parent fd24f02780
commit 453299f5c7
1 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<RunDetail :run="run"/> <RunDetail :run="run" :ownertype="ownertype" :ownername="ownername" :projectref="projectref"/>
<div v-if="task != null"> <div v-if="task != null">
<div class="mt-8 mb-4 flex justify-between items-center"> <div class="mt-8 mb-4 flex justify-between items-center">
<div class="flex items-center"> <div class="flex items-center">
@ -47,12 +47,17 @@ export default {
RunDetail RunDetail
}, },
name: "task", name: "task",
props: {
ownertype: String,
ownername: String,
projectref: Array,
runid: String,
taskid: String
},
data() { data() {
return { return {
run: null, run: null,
task: null, task: null,
runid: this.$route.params.runid,
taskid: this.$route.params.taskid,
polling: null polling: null
}; };
}, },