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.
 
 
 
 
 
 

40 lines
949 B

<template>
<base-card
:title="$t('overview.deleteProjectTitle')"
:agree-text="$t('generic.yes')"
:cancel-text="$t('generic.cancel')"
@agree="$emit('remove')"
@cancel="$emit('cancel')"
>
<template #content>
{{ $t('overview.deleteProjectMessage') }}
<v-list dense>
<v-list-item v-for="(item, i) in selected" :key="i">
<v-list-item-content>
<v-list-item-title>{{ item.name }}</v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-list>
</template>
</base-card>
</template>
<script lang="ts">
import type { PropType } from 'vue'
import Vue from 'vue'
import BaseCard from '@/components/utils/BaseCard.vue'
import { Project } from '~/domain/models/project/project'
export default Vue.extend({
components: {
BaseCard
},
props: {
selected: {
type: Array as PropType<Project[]>,
default: () => []
}
}
})
</script>