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
472 B

  1. <template>
  2. <confirm-form
  3. :items="selected"
  4. title="Delete Label"
  5. :message="$t('labels.deleteMessage')"
  6. item-key="text"
  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>