diff --git a/landingPages/dataProvider/dataProvider.component.ts b/landingPages/dataProvider/dataProvider.component.ts index 5a25c47b..6acb000e 100644 --- a/landingPages/dataProvider/dataProvider.component.ts +++ b/landingPages/dataProvider/dataProvider.component.ts @@ -685,7 +685,8 @@ export class DataProviderComponent { } public get hasMetrics(): boolean { - return !(this.totalViews != null && this.totalDownloads != null) || this.totalViews > 0 || this.totalDownloads > 0; + // return !(this.totalViews != null && this.totalDownloads != null) || this.totalViews > 0 || this.totalDownloads > 0; + return (this.totalViews != null && this.totalViews > 0) || (this.totalDownloads != null && this.totalDownloads > 0); } // public openStatistics() { diff --git a/landingPages/result/resultLanding.component.html b/landingPages/result/resultLanding.component.html index 4a323815..0947b2c5 100644 --- a/landingPages/result/resultLanding.component.html +++ b/landingPages/result/resultLanding.component.html @@ -1117,7 +1117,7 @@
  • -
    +
    @@ -1190,15 +1190,16 @@
  • -
    -
    +
    +
    {{formatNumber(resultLandingInfo.measure.downloads)}}
    Downloads
    -
    +
    {{formatNumber(resultLandingInfo.measure.views)}}