2019-12-24 13:02:56 +00:00
|
|
|
<template>
|
2019-12-24 18:52:22 +00:00
|
|
|
<div class="container-fluid px-xl-5 mt-3">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xl-8 offset-xl-2">
|
|
|
|
<Table
|
|
|
|
:columns="['hash', 'uid']"
|
|
|
|
:items="loadedItems"
|
|
|
|
:keyName="'hash'"
|
|
|
|
v-slot="{ item }"
|
|
|
|
>
|
|
|
|
<div class="btn-group">
|
|
|
|
<button class="btn btn-danger" @click.stop="" >
|
|
|
|
<font-awesome-icon icon="trash"/> delete
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</Table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-24 13:02:56 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2019-12-24 18:52:22 +00:00
|
|
|
import {mapActions, mapState} from 'vuex';
|
|
|
|
import Table from '@/components/Table';
|
|
|
|
|
2019-12-24 13:02:56 +00:00
|
|
|
export default {
|
|
|
|
name: 'Files',
|
2019-12-24 18:52:22 +00:00
|
|
|
components: {Table},
|
|
|
|
computed: mapState(['loadedItems']),
|
|
|
|
methods: mapActions([]),
|
2019-12-24 13:02:56 +00:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
</style>
|