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

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


The following commit(s) were added to refs/heads/DLAB-1571 by this push:
     new ca644c3  Fixed billing on resources page
ca644c3 is described below

commit ca644c3a411b0fe008d05b3824c39f427faabcc9
Author: Dmytro Gnatyshyn <[email protected]>
AuthorDate: Fri Apr 10 14:17:45 2020 +0300

    Fixed billing on resources page
---
 .../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 1e8ceae..8f3ea2c 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
@@ -60,7 +60,7 @@ export class ExploratoryModel {
           project: value.project,
           exploratory: value.exploratory.map(el => {
             const provider = el.cloud_provider.toLowerCase();
-            const billing = value.exploratoryBilling.filter(res => res.dlabId 
=== el.exploratory_id)[0];
+            const billing = value.exploratoryBilling.filter(res => 
res.resource_name === el.exploratory_name)[0];
 
             return new ExploratoryModel(
               provider,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to