Browse Source

Add FormDelete.vue to remove member

pull/1224/head
Hironsan 3 years ago
parent
commit
b4f98c81b4
1 changed files with 28 additions and 0 deletions
  1. 28
      frontend/components/member/FormDelete.vue

28
frontend/components/member/FormDelete.vue

@ -0,0 +1,28 @@
<template>
<confirm-form
:items="selected"
title="$t('members.removeMember')"
:message="$t('members.removePrompt')"
item-key="username"
@ok="$emit('remove')"
@cancel="$emit('cancel')"
/>
</template>
<script lang="ts">
import Vue from 'vue'
import ConfirmForm from '@/components/organisms/utils/ConfirmForm.vue'
export default Vue.extend({
components: {
ConfirmForm
},
props: {
selected: {
type: Array,
default: () => []
}
}
})
</script>
Loading…
Cancel
Save