75316: Only show external sources when configured

This commit is contained in:
Kristof De Langhe
2020-12-21 15:41:11 +01:00
parent 64f726bf30
commit a08b515335

View File

@@ -153,11 +153,6 @@ export class DsDynamicLookupRelationModalComponent implements OnInit, OnDestroy
).pipe( ).pipe(
getAllSucceededRemoteDataPayload() getAllSucceededRemoteDataPayload()
); );
} else {
this.externalSourcesRD$ = this.externalSourceService.findAll().pipe(
getAllSucceededRemoteDataPayload(),
map((list: PaginatedList<ExternalSource>) => list.page)
);
} }
this.setTotals(); this.setTotals();