Reduce reuse recycle Element deletion modal
https://redmine.teklia.com/issues/8655
When you delete an Element using the "Delete" action in the annotation tools and when you delete an Element from the trash icon next to its name in the element header it opens a modal that is exactly the same and does the same thing but actually one is components/Image/DeletionModal.vue
and the other is a Modal
inside of components/HeaderActions.vue
. These could be the same component?
Actually there is also components/Element/DeleteModal.vue
! :)
Using the same component for all these deletion options would avoid multiplying problems like #1426 (closed) #1425 (closed) #1424 (closed) #1423 (closed)
Edited by Erwan Rouchet