debian-mirror-gitlab/app/assets/javascripts/admin/users/components/actions/delete.vue

36 lines
597 B
Vue
Raw Normal View History

2021-03-11 19:13:27 +05:30
<script>
import SharedDeleteAction from './shared/shared_delete_action.vue';
export default {
components: {
SharedDeleteAction,
},
props: {
username: {
type: String,
required: true,
},
paths: {
type: Object,
required: true,
},
2021-06-08 01:23:25 +05:30
oncallSchedules: {
type: Array,
required: false,
default: () => [],
},
2021-03-11 19:13:27 +05:30
},
};
</script>
<template>
2021-06-08 01:23:25 +05:30
<shared-delete-action
modal-type="delete"
:username="username"
:paths="paths"
:oncall-schedules="oncallSchedules"
>
2021-03-11 19:13:27 +05:30
<slot></slot>
</shared-delete-action>
</template>