mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 12:03:03 +00:00
67611: Refactored import button to separate component within object-collection + moved calling of import modal to external-source tab
This commit is contained in:
@@ -53,6 +53,21 @@ export class ObjectCollectionComponent implements OnInit {
|
||||
@Output() deselectObject: EventEmitter<ListableObject> = new EventEmitter<ListableObject>();
|
||||
@Output() selectObject: EventEmitter<ListableObject> = new EventEmitter<ListableObject>();
|
||||
|
||||
/**
|
||||
* Whether or not to add an import button to the object elements
|
||||
*/
|
||||
@Input() importable = false;
|
||||
|
||||
/**
|
||||
* The config to use for the import button
|
||||
*/
|
||||
@Input() importConfig: { buttonLabel: string };
|
||||
|
||||
/**
|
||||
* Send an import event to the parent component
|
||||
*/
|
||||
@Output() importObject: EventEmitter<ListableObject> = new EventEmitter<ListableObject>();
|
||||
|
||||
/**
|
||||
* The link type of the rendered list elements
|
||||
*/
|
||||
|
Reference in New Issue
Block a user