diff --git a/src/components/ConfirmDeleteModal.vue b/src/components/ConfirmDeleteModal.vue index 700f6412a..d9cdcf93d 100644 --- a/src/components/ConfirmDeleteModal.vue +++ b/src/components/ConfirmDeleteModal.vue @@ -6,18 +6,18 @@ - {{ `Remove ${name}` }} + {{ `${action} ${name}` }} - Are you sure you want to remove {{ name.toLowerCase() }}? + Are you sure you want to {{ action.toLowerCase() }} {{ name.toLowerCase() }}? - Remove + {{ action }} @@ -30,8 +30,10 @@ const props = withDefaults(defineProps<{ showModal: boolean, name?: string, + action: 'Delete' | 'Remove', }>(), { name: '', + action: 'Delete', }) const emits = defineEmits<{