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

refactor: ts on ipc api

This commit is contained in:
2022-06-05 17:57:44 +02:00
parent 7fc01227e7
commit be70b5be7f
36 changed files with 510 additions and 476 deletions

View File

@@ -133,7 +133,7 @@ export const useWorkspacesStore = defineStore('workspaces', {
else
this.selectedWorkspace = uid;
},
async connectWorkspace (connection: ConnectionParams) {
async connectWorkspace (connection: ConnectionParams & { pgConnString: string }) {
this.workspaces = (this.workspaces as Workspace[]).map(workspace => workspace.uid === connection.uid
? {
...workspace,