You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
588 B

<template>
<action-menu
:items="items"
:text="$t('dataset.actions')"
@create="$emit('create')"
@upload="$emit('upload')"
@download="$emit('download')"
/>
</template>
<script lang="ts">
import Vue from 'vue'
import { mdiPencil } from '@mdi/js'
import ActionMenu from '~/components/utils/ActionMenu.vue'
export default Vue.extend({
components: {
ActionMenu
},
computed: {
items() {
return [
{
title: this.$t('links.createLink'),
icon: mdiPencil,
event: 'create'
}
]
}
}
})
</script>