add Confirm Delete to Action DeleteImage

This commit is contained in:
Manuela Thamer
2026-10-01 07:43:34 +02:00
parent 3d8c4fa4d0
commit 3509ccc453
+7 -1
View File
@@ -32,7 +32,13 @@ export default {
}
},
deleteImage() {
this.$emit('update:modelValue', '');
this.$fhcAlert
.confirmDelete()
.then(result => {
if (result) {
this.$emit('update:modelValue', '');
}
});
},
emitAction(){
this.$emit('actionbutton-clicked', this.modelValue);