Project

General

Profile

« Previous | Next » 

Revision 51758

in statistics: added check if entity is deactivated

View differences:

statistics-for-dashboard.component.html
3 3
        <span>Most recent statistics</span>
4 4
    </h2>
5 5
</div>
6
<div *ngIf="!statisticsSum || (statisticsSum.total_projects==0) || (allowedEntities.length == 0)" class="uk-alert uk-alert-info" style="margin-top:40px;">
7
    No statistics are available for {{ communityId.toUpperCase() }}
8
</div>
6 9
<div>
7 10
    <div *ngFor="let entity of allowedEntities">
8 11
        <div *ngIf="statisticsSum[entity].total>0 && allowedCharts[entity].length>0">

Also available in: Unified diff