Skip to content

Instantly share code, notes, and snippets.

@mstaack
Created March 8, 2017 21:23
Show Gist options
  • Save mstaack/632be26367b13aaaaf738d0bdd2a5e28 to your computer and use it in GitHub Desktop.
Save mstaack/632be26367b13aaaaf738d0bdd2a5e28 to your computer and use it in GitHub Desktop.
<template>
<tr class="item-row" @contextmenu.prevent="deletePath(item)">
<td>
<i class="fa fa-fw" :class="getIcon(item)" aria-hidden="true"></i>
<a href='#' @click="openItem(item)"> {{ item.filename }}{{item.extension ? '.' + item.extension : '' }}</a>
</td>
<td> {{ createdOn(item) }}</td>
<td> {{ item.size }}</td>
<td> {{ item.type }}</td>
</tr>
</template>
<script>
export default {
components: {},
props: [
'item'
],
data: function () {
return {}
},
methods: {}
}
</script>
<style>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment