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:
@ -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({
|
||||
|
Reference in New Issue
Block a user