From 74ab6ec9fd73ef5199c3bf46c59939ff2a5be7cd Mon Sep 17 00:00:00 2001 From: Naumov Alexey Date: Thu, 1 Apr 2021 20:25:32 +0300 Subject: [PATCH] fix(plugin-connection-template): CB-910 data access syntax --- .../src/ConnectionDialog/ConnectionController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/packages/plugin-connection-template/src/ConnectionDialog/ConnectionController.ts b/webapp/packages/plugin-connection-template/src/ConnectionDialog/ConnectionController.ts index 4c255c9608..84c8dcc73a 100644 --- a/webapp/packages/plugin-connection-template/src/ConnectionDialog/ConnectionController.ts +++ b/webapp/packages/plugin-connection-template/src/ConnectionDialog/ConnectionController.ts @@ -114,7 +114,7 @@ export class ConnectionController this.isConnecting = true; this.clearError(); try { - const connectionNames = Array.from(this.connectionInfoResource.data.values()) + const connectionNames = Array.from(this.connectionInfoResource.values) .map(connection => connection.name); const uniqueConnectionName = getUniqueConnectionName(this.template.name || 'Template connection', connectionNames); const connection = await this.connectionInfoResource.createFromTemplate(this.template.id, uniqueConnectionName);