debian-mirror-gitlab/app/assets/javascripts/admin/users/components/actions/delete.vue
2021-10-27 15:23:28 +05:30

36 lines
629 B
Vue

<script>
import SharedDeleteAction from './shared/shared_delete_action.vue';
export default {
components: {
SharedDeleteAction,
},
props: {
username: {
type: String,
required: true,
},
paths: {
type: Object,
required: true,
},
oncallSchedules: {
type: Array,
required: false,
default: () => [],
},
},
};
</script>
<template>
<shared-delete-action
modal-type="delete"
:username="username"
:paths="paths"
:delete-path="paths.delete"
:oncall-schedules="oncallSchedules"
>
<slot></slot>
</shared-delete-action>
</template>