[Library|Trunk]

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


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60803 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2021-04-06 08:19:54 +00:00
parent b64a155b18
commit b204e808c1
1 changed files with 3 additions and 2 deletions

View File

@ -77,13 +77,14 @@ import {animate, state, style, transition, trigger} from "@angular/animations";
</tbody>
</table>
</li>
<li #element>
<!-- remove check for datasources when with the new charts -->
<li *ngIf="entityType == 'datasources'" #element>
<i-frame *ngIf="metricsClicked && metrics.totalViews > 0 && viewsFrameUrl"
[height]="200"
[url]=viewsFrameUrl>
</i-frame>
</li>
<li #element>
<li *ngIf="entityType == 'datasources'" #element>
<i-frame *ngIf="metricsClicked && metrics.totalDownloads > 0 && downloadsFrameUrl"
[height]="200"
[url]=downloadsFrameUrl>