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.
 
 
 
 
 
 

32 lines
573 B

<template>
<confirm-form
:items="selected"
:title="$t('dataset.deleteDocumentsTitle')"
:message="$t('dataset.deleteDocumentsMessage')"
:item-key="itemKey"
@ok="$emit('remove')"
@cancel="$emit('cancel')"
/>
</template>
<script lang="ts">
import Vue from 'vue'
import ConfirmForm from '@/components/utils/ConfirmForm.vue'
export default Vue.extend({
components: {
ConfirmForm
},
props: {
selected: {
type: Array,
default: () => []
},
itemKey: {
type: String,
default: 'text'
}
}
})
</script>