This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only show inbox statistics if inbox tags are defined
- Loading branch information
jonaswinkler
committed
Feb 15, 2021
1 parent
3f03d51
commit cb308fa
Showing
3 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...i/src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<app-widget-frame title="Statistics" i18n-title> | ||
<ng-container content> | ||
<p class="card-text" i18n>Documents in inbox: {{statistics.documents_inbox}}</p> | ||
<p class="card-text" i18n>Total documents: {{statistics.documents_total}}</p> | ||
<p class="card-text" i18n *ngIf="statistics?.documents_inbox != null">Documents in inbox: {{statistics?.documents_inbox}}</p> | ||
<p class="card-text" i18n>Total documents: {{statistics?.documents_total}}</p> | ||
</ng-container> | ||
</app-widget-frame> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters