mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
fixed existing tests and added linkType
This commit is contained in:
@@ -3,6 +3,7 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
||||
import { InputSuggestionsComponent } from '../input-suggestions.component';
|
||||
import { DSpaceObject } from '../../../core/shared/dspace-object.model';
|
||||
import { ViewMode } from '../../../core/shared/view-mode.model';
|
||||
import { CollectionElementLinkType } from '../../object-collection/collection-element-link.type';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-dso-input-suggestions',
|
||||
@@ -24,6 +25,7 @@ import { ViewMode } from '../../../core/shared/view-mode.model';
|
||||
*/
|
||||
export class DsoInputSuggestionsComponent extends InputSuggestionsComponent {
|
||||
viewMode = ViewMode.ListElement;
|
||||
linkTypes = CollectionElementLinkType;
|
||||
/**
|
||||
* The suggestions that should be shown
|
||||
*/
|
||||
|
Reference in New Issue
Block a user