Revision 58598
Added by Konstantinos Triantafyllou almost 4 years ago
dataProvider.component.ts | ||
---|---|---|
600 | 600 |
this.totalDownloads = $event.totalDownloads; |
601 | 601 |
this.pageViews = $event.pageViews; |
602 | 602 |
} |
603 |
|
|
604 |
public get hasMetrics(): boolean { |
|
605 |
return !(this.totalViews && this.totalDownloads && this.pageViews) || this.totalViews > 0 || this.totalDownloads > 0||this.pageViews > 0; |
|
606 |
} |
|
603 | 607 |
|
604 | 608 |
public openStatistics() { |
605 | 609 |
this.statsClicked = true; |
Also available in: Unified diff
[Library | Trunk]: Add openaire metrics.