You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/03/02 15:01:52 UTC

[incubator-datalab] 01/01: [DATALAB-2297] fixed bug with total sum cell on billing page

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

ytykhun pushed a commit to branch DATALAB-2297
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 87cf73884992ba4c9893f122e99630a754cf35a0
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Tue Mar 2 17:00:05 2021 +0200

    [DATALAB-2297] fixed bug with total sum cell on billing page
---
 .../reports/reporting/reporting-grid/reporting-grid.component.html    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.html b/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.html
index 0c098e1..347e0d4 100644
--- a/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.html
@@ -18,9 +18,7 @@
   -->
 <div class="billing-page-wrapper scrolling" #pageWrapper [ngClass]="{'scroll': reportData?.length < 5}" (scroll)="scrollTable($event)">
   <div class="wrapper" #wrapper>
-      <div class="totaL-item strong"
-          *ngIf="reportData?.length"
-          [ngClass]="{'scrollbar-right': tableWrapper.offsetHeight - tableEl['offsetHeight'] < 0, 'scrollbar-bottom': tableWrapper.offsetWidth - tableEl['offsetWidth'] < 0}">
+      <div class="totaL-item strong" *ngIf="reportData?.length">
         Total <span>{{fullReport.total_cost | localcurrency}}</span>
       </div>
     <section class="table-wrapper" id="scrolling" #tableWrapper (scroll)="scrollTable($event)" [ngClass]="{'scroll': reportData?.length > 4, 'shadow-none': reportData?.length < 5}">


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