diff --git a/website/client/src/components/tasks/taskModal.vue b/website/client/src/components/tasks/taskModal.vue index c7df5f45cb..95198fc472 100644 --- a/website/client/src/components/tasks/taskModal.vue +++ b/website/client/src/components/tasks/taskModal.vue @@ -1455,7 +1455,8 @@ export default { this.$root.$emit('bv::hide::modal', 'task-modal'); }, destroy () { - if (!window.confirm(this.$t('sureDelete'))) return; + const type = this.$t(this.task.type); + if (!window.confirm(this.$t('sureDeleteType', { type }))) return; this.destroyTask(this.task); this.$emit('taskDestroyed', this.task); this.$root.$emit('bv::hide::modal', 'task-modal');