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

feat(UI): new connection add panel

This commit is contained in:
2021-07-08 17:43:33 +02:00
parent 9af71a6e34
commit 8cd76e711c
10 changed files with 545 additions and 22 deletions

View File

@@ -340,7 +340,7 @@ import customizations from 'common/customizations';
import Connection from '@/ipc-api/Connection';
import ModalAskCredentials from '@/components/ModalAskCredentials';
import BaseUploadInput from '@/components/BaseUploadInput';
// TODO: errori attivando ssh/ssl
export default {
name: 'WorkspaceEditConnectionPanel',
components: {
@@ -388,10 +388,10 @@ export default {
await this.saveConnection();
this.isConnecting = true;
if (this.connection.ask)
if (this.localConnection.ask)
this.isAsking = true;
else {
await this.connectWorkspace(this.connection);
await this.connectWorkspace(this.localConnection);
this.isConnecting = false;
}
},