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/02/26 15:30:58 UTC

[incubator-datalab] branch DATALAB-2305 created (now 6086c9d)

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

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


      at 6086c9d  [DATALAB-2305] showed the total sum even if it equals 0

This branch includes the following new commits:

     new 6086c9d  [DATALAB-2305] showed the total sum even if it equals 0

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-datalab] 01/01: [DATALAB-2305] showed the total sum even if it equals 0

Posted by yt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 6086c9d2fb467f4b8ad92ff43dc26b4c1d5d33bd
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Fri Feb 26 17:28:26 2021 +0200

    [DATALAB-2305] showed the total sum even if it equals 0
---
 .../reports/reporting/reporting-grid/reporting-grid.component.html    | 1 -
 .../reports/reporting/reporting-grid/reporting-grid.component.scss    | 4 ++++
 2 files changed, 4 insertions(+), 1 deletion(-)

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 173066d..ea95d1a 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
@@ -19,7 +19,6 @@
 <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="fullReport?.total_cost"
            [ngClass]="{'scrollbar-right': tableWrapper.offsetHeight - tableEl['offsetHeight'] < 0, 'scrollbar-bottom': tableWrapper.offsetWidth - tableEl['offsetWidth'] < 0}">
         Total <span *ngIf="reportData?.length">{{fullReport.total_cost | localcurrency}}</span>
       </div>
diff --git a/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.scss b/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.scss
index 34a85e9..3ebfc9d 100644
--- a/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.scss
@@ -396,6 +396,10 @@
   &.scrollbar-bottom{
     bottom: 3px;
   }
+
+  span {
+    padding-left: 2px;
+  }
 }
 
 @-moz-document url-prefix() {


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