You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dg...@apache.org on 2020/02/03 15:28:30 UTC

[incubator-dlab] 01/01: [DLAB-1507]: Fixed endpoint disconnection should not cause disappearing previously available instance

This is an automated email from the ASF dual-hosted git repository.

dgnatyshyn pushed a commit to branch DLAB-1507
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 5fa28727cb817a7604442ad7bc6bd529ba2257ab
Author: Dmytro Gnatyshyn <di...@ukr.net>
AuthorDate: Mon Feb 3 17:28:04 2020 +0200

    [DLAB-1507]: Fixed endpoint disconnection should not cause disappearing previously available instance
---
 .../webapp/src/app/resources/resources-grid/resources-grid.model.ts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.model.ts b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.model.ts
index b0345f6..14a2824 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.model.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.model.ts
@@ -58,7 +58,7 @@ export class ExploratoryModel {
         return {
           project: value.project,
           exploratory: value.exploratory.map(el => {
-            const provider = value.endpoints.filter(endpoint => el.endpoint === endpoint.name)[0].cloudProvider.toLowerCase();
+            const provider = el.cloud_provider.toLowerCase();
             return new ExploratoryModel(
             provider,
             el.exploratory_name,


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org