Properly display api errors on list filter & translate error message

This commit is contained in:
Michael Shamoon
2022-04-02 17:05:15 -07:00
parent 9bdd5af8c5
commit 023aff7ced
2 changed files with 17 additions and 3 deletions

View File

@@ -100,7 +100,7 @@
<ng-container *ngTemplateOutlet="pagination"></ng-container>
<ng-container *ngIf="list.error ; else documentListNoError">
<div class="alert alert-danger" role="alert">Error while loading documents: {{list.error}}</div>
<div class="alert alert-danger" role="alert"><ng-container i18n>Error while loading documents</ng-container>: {{list.error}}</div>
</ng-container>
<ng-template #documentListNoError>