You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
491 B

  1. <template>
  2. <confirm-form
  3. :items="selected"
  4. :title="$t('members.removeMember')"
  5. :message="$t('members.removePrompt')"
  6. item-key="username"
  7. @ok="$emit('remove')"
  8. @cancel="$emit('cancel')"
  9. />
  10. </template>
  11. <script lang="ts">
  12. import Vue from 'vue'
  13. import ConfirmForm from '@/components/utils/ConfirmForm.vue'
  14. export default Vue.extend({
  15. components: {
  16. ConfirmForm
  17. },
  18. props: {
  19. selected: {
  20. type: Array,
  21. default: () => []
  22. }
  23. }
  24. })
  25. </script>