debian-mirror-gitlab/app/assets/javascripts/projects/components/project_delete_button.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
914 B
Vue
Raw Normal View History

2020-10-24 23:57:45 +05:30
<script>
import SharedDeleteButton from './shared/delete_button.vue';
export default {
components: {
SharedDeleteButton,
},
props: {
confirmPhrase: {
type: String,
required: true,
},
formPath: {
type: String,
required: true,
},
2021-12-11 22:18:48 +05:30
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,
},
2020-10-24 23:57:45 +05:30
},
};
</script>
<template>
2022-04-04 11:22:00 +05:30
<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"
/>
2020-10-24 23:57:45 +05:30
</template>