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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
