mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-02 10:27:19 +01:00
fix(UI): prevent canc key to trigger delete modal when editing a row
This commit is contained in:
parent
e0e6483d1f
commit
5e9c88a7fd
@ -346,7 +346,9 @@ export default {
|
||||
closeContext () {
|
||||
this.isContext = false;
|
||||
},
|
||||
showDeleteConfirmModal () {
|
||||
showDeleteConfirmModal (e) {
|
||||
if (e && e.path && ['INPUT', 'TEXTAREA', 'SELECT'].includes(e.path[0].tagName))
|
||||
return;
|
||||
this.isDeleteConfirmModal = true;
|
||||
},
|
||||
hideDeleteConfirmModal () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user