You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2018/08/30 14:01:42 UTC

incubator-griffin git commit: fix download disable items issue

Repository: incubator-griffin
Updated Branches:
  refs/heads/master 142fd60f7 -> 42cad151e


fix download disable items issue

fix the issue that one column is not disabled while in downloading

Author: Li, Juan <su...@gmail.com>

Closes #406 from icesmartjuan/fix_ui_bug.


Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin/commit/42cad151
Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin/tree/42cad151
Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin/diff/42cad151

Branch: refs/heads/master
Commit: 42cad151e106b57708473ce3707b36b3449ea3db
Parents: 142fd60
Author: Li, Juan <su...@gmail.com>
Authored: Thu Aug 30 22:01:37 2018 +0800
Committer: Lionel Liu <bh...@163.com>
Committed: Thu Aug 30 22:01:37 2018 +0800

----------------------------------------------------------------------
 .../src/app/metric/detail-metric/detail-metric.component.html      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/42cad151/ui/angular/src/app/metric/detail-metric/detail-metric.component.html
----------------------------------------------------------------------
diff --git a/ui/angular/src/app/metric/detail-metric/detail-metric.component.html b/ui/angular/src/app/metric/detail-metric/detail-metric.component.html
index f824710..432f840 100644
--- a/ui/angular/src/app/metric/detail-metric/detail-metric.component.html
+++ b/ui/angular/src/app/metric/detail-metric/detail-metric.component.html
@@ -91,7 +91,7 @@ under the License.
                  <tr *ngIf="isEven && !isLast">
                    <td style="background-color:black; cursor: pointer;" nowrap><a [ngClass]="{'adisabled': !isDownloadClickDisabled}" (click)="downloadSample(item)" style="margin: 15px 15px 15px 15px;">{{mf2.data[i].tmst}} {{mf2.data[i].tmst |
                      date: 'yyyy/MM/dd HH:mm:ss'}}</a></td>
-                   <td style="background-color:black; cursor: pointer;" nowrap><a ng-class="{'adisabled': !isDownloadClickDisabled}" (click)="downloadSample(item)">{{mf2.data[i].tmst}} {{mf2.data[i+1].tmst |
+                   <td style="background-color:black; cursor: pointer;" nowrap><a [ngClass]="{'adisabled': !isDownloadClickDisabled}" (click)="downloadSample(item)">{{mf2.data[i].tmst}} {{mf2.data[i+1].tmst |
                      date: 'yyyy/MM/dd HH:mm:ss'}}</a></td>
                    </tr>
                  </div>