1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: improvements to edit connection modal

This commit is contained in:
2020-10-04 18:32:54 +02:00
parent c70e5b422c
commit ed5cf0a8e4
6 changed files with 24 additions and 28 deletions

View File

@ -180,7 +180,6 @@ export default {
},
methods: {
...mapActions({
closeModal: 'application/hideEditConnModal',
editConnection: 'connections/editConnection'
}),
async startTest () {
@ -231,6 +230,9 @@ export default {
this.isTesting = false;
this.isAsking = false;
},
closeModal () {
this.$emit('close');
},
onKey (e) {
e.stopPropagation();
if (e.key === 'Escape')