Commit 17e57175 authored by Nick Kipling's avatar Nick Kipling

Changed to shorthand for v-slot

parent 573b5f98
...@@ -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 v-slot:name="items"> <template #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 v-slot:created="items"> <template #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>
...@@ -217,7 +217,7 @@ export default { ...@@ -217,7 +217,7 @@ export default {
</gl-table> </gl-table>
<gl-modal ref="deleteModal" class="js-delete-modal" modal-id="delete-modal"> <gl-modal ref="deleteModal" class="js-delete-modal" modal-id="delete-modal">
<template v-slot:modal-title>{{ $options.i18n.deleteModalTitle }}</template> <template #modal-title>{{ $options.i18n.deleteModalTitle }}</template>
<p v-html="deleteModalDescription"></p> <p v-html="deleteModalDescription"></p>
<div slot="modal-footer" class="w-100"> <div slot="modal-footer" class="w-100">
......
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