1
0

67478: External source link + pagination fix

This commit is contained in:
Kristof De Langhe
2019-12-19 13:13:46 +01:00
parent 904228127e
commit 890d60aa9c
2 changed files with 9 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
<div>{{object.display}}</div>
<div *ngIf="uri"><a [href]="uri.value">{{uri.value}}</a></div>
<div *ngIf="uri"><a target="_blank" [href]="uri.value">{{uri.value}}</a></div>

View File

@@ -69,6 +69,14 @@ export class DsDynamicLookupRelationSelectionTabComponent {
*/
@Output() selectObject: EventEmitter<ListableObject> = new EventEmitter<ListableObject>();
/**
* The initial pagination to use
*/
initialPagination = Object.assign(new PaginationComponentOptions(), {
id: 'submission-relation-list',
pageSize: 5
});
constructor(private router: Router,
private searchConfigService: SearchConfigurationService) {
}