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

Ask credentials on connection

This commit is contained in:
2020-05-24 11:03:20 +02:00
parent 63f07c0715
commit 755c34f782
4 changed files with 34 additions and 16 deletions

View File

@ -146,24 +146,16 @@ export default {
},
isTesting: false,
isAsking: false,
connectionProxy: null
localConnection: null
};
},
computed: {
...mapGetters({
connection: 'connections/getSelectedConnection'
}),
localConnection: {
get () {
if (this.connectionProxy === null)
return Object.assign({}, this.connection);
else
return this.connectionProxy;
},
set (val) {
this.connectionProxy = val;
}
}
})
},
created () {
this.localConnection = Object.assign({}, this.connection);
},
methods: {
...mapActions({