Commits
Tim Donohue authored and GitHub committed aafe3543d8f Merge
17 17 | [selectionConfig]="{ repeatable: repeatable, listId: listId }" |
18 18 | [config]="initialPagination" |
19 19 | [hideGear]="true" |
20 20 | [context]="context" |
21 21 | [importable]="true" |
22 22 | [importConfig]="importConfig" |
23 23 | (importObject)="import($event)"> |
24 24 | </ds-viewable-collection> |
25 25 | <ds-themed-loading *ngIf="(isLoading$ | async)" |
26 26 | message="{{'loading.search-results' | translate}}"></ds-themed-loading> |
27 - | <div *ngIf="!(isLoading$ | async) && entriesRD?.payload?.page?.length === 0" id="empty-external-entry-list"> |
27 + | <div *ngIf="!(isLoading$ | async) && entriesRD?.payload?.page?.length === 0" data-test="empty-external-entry-list"> |
28 28 | <ds-alert [type]="'alert-info'">{{ 'search.results.empty' | translate }}</ds-alert> |
29 29 | </div> |
30 + | <div *ngIf="!(isLoading$ | async) && entriesRD.statusCode === 500" data-test="empty-external-error-500"> |
31 + | <ds-alert [type]="'alert-info'">{{ 'search.results.response.500' | translate }}</ds-alert> |
32 + | </div> |
30 33 | </ng-container> |
31 34 | </div> |
32 35 | <div *ngIf="reload$.value.sourceId === ''" class="col-md-12"> |
33 36 | <ds-alert [type]="'alert-info'"> |
34 37 | <p class="lead mb-0">{{'submission.import-external.page.hint' | translate}}</p> |
35 38 | </ds-alert> |
36 39 | </div> |
37 40 | </div> |
38 41 | |
39 42 | <div class="row"> |