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