Project

General

Profile

« Previous | Next » 

Revision 60803

[Library|Trunk]

Metrics: hide old charts for results/projects (they are empty)

View differences:

metrics.component.ts
77 77
                    </tbody>
78 78
                  </table>
79 79
                </li>
80
                <li #element>
80
<!--                remove check for datasources when with the new charts -->
81
                <li  *ngIf="entityType == 'datasources'" #element>
81 82
                  <i-frame *ngIf="metricsClicked && metrics.totalViews > 0 && viewsFrameUrl"
82 83
                           [height]="200"
83 84
                           [url]=viewsFrameUrl>
84 85
                  </i-frame>
85 86
                </li>
86
                <li #element>
87
                <li *ngIf="entityType == 'datasources'" #element>
87 88
                  <i-frame *ngIf="metricsClicked && metrics.totalDownloads > 0 && downloadsFrameUrl"
88 89
                           [height]="200"
89 90
                           [url]=downloadsFrameUrl>

Also available in: Unified diff