Commit 573b5f98 authored by Nick Kipling's avatar Nick Kipling

Updated to use new slot syntax

parent deb894a1
...@@ -202,14 +202,14 @@ export default { ...@@ -202,14 +202,14 @@ export default {
:items="filesTableRows" :items="filesTableRows"
tbody-tr-class="js-file-row" tbody-tr-class="js-file-row"
> >
<template slot="name" slot-scope="items"> <template v-slot:name="items">
<icon name="doc-code" class="space-right" /> <icon name="doc-code" class="space-right" />
<gl-link :href="items.item.downloadPath" class="js-file-download">{{ <gl-link :href="items.item.downloadPath" class="js-file-download">{{
items.item.name items.item.name
}}</gl-link> }}</gl-link>
</template> </template>
<template slot="created" slot-scope="items"> <template v-slot:created="items">
<span v-gl-tooltip :title="tooltipTitle(items.item.created)">{{ <span v-gl-tooltip :title="tooltipTitle(items.item.created)">{{
timeFormated(items.item.created) timeFormated(items.item.created)
}}</span> }}</span>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment