debian-mirror-gitlab/app/assets/javascripts/projects/components/project_delete_button.vue
2022-04-04 11:22:00 +05:30

51 lines
914 B
Vue

<script>
import SharedDeleteButton from './shared/delete_button.vue';
export default {
components: {
SharedDeleteButton,
},
props: {
confirmPhrase: {
type: String,
required: true,
},
formPath: {
type: String,
required: true,
},
isFork: {
type: Boolean,
required: true,
},
issuesCount: {
type: Number,
required: true,
},
mergeRequestsCount: {
type: Number,
required: true,
},
forksCount: {
type: Number,
required: true,
},
starsCount: {
type: Number,
required: true,
},
},
};
</script>
<template>
<shared-delete-button
:confirm-phrase="confirmPhrase"
:form-path="formPath"
:is-fork="isFork"
:issues-count="issuesCount"
:merge-requests-count="mergeRequestsCount"
:forks-count="forksCount"
:stars-count="starsCount"
/>
</template>