Merge pull request #9443 from dannon/vue-slots

Vue slot refactoring
This commit is contained in:
John Chilton
2020-02-27 09:32:05 -05:00
committed by GitHub
4 changed files with 3 additions and 5 deletions
@@ -41,7 +41,7 @@
</b-link>
<div>{{ row.item.description }}</div>
</template>
<template slot="row-details" slot-scope="row">
<template v-slot:row-details="row">
<RepositoryDetails :repo="row.item" />
</template>
</b-table>
@@ -40,8 +40,6 @@
striped
id="jobs-table"
>
<!-- Enable cell formatting for the command line column -->
<span slot="html" slot-scope="data" v-html="data.value"> </span>
<template v-slot:cell(actions)="row">
<b-button-group>
<b-button v-b-tooltip.hover title="Rerun" target="_top" :href="jobs[row.index]['runUrl']">
@@ -89,7 +89,7 @@
<template v-slot:cell(tool)="row">
<tool-display :tool-id="row.item.tool_id" />
</template>
<template slot="row-details" slot-scope="row">
<template v-slot:row-details="row">
<container-resolution-details :resolution="row.item" />
</template>
</b-table>
@@ -50,7 +50,7 @@
<template v-slot:cell(tool)="row">
<tool-display :tool-id="row.item.tool" />
</template>
<template slot="row-details" slot-scope="row">
<template v-slot:row-details="row">
<resolution-details :resolution="row.item" />
</template>
</b-table>