mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
Use DSONameService to display DSpaceObjects names
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { DSpaceObject } from '../../core/shared/dspace-object.model';
|
||||
import { DSONameService } from '../../core/breadcrumbs/dso-name.service';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-confirmation-modal',
|
||||
@@ -25,7 +26,10 @@ export class ConfirmationModalComponent {
|
||||
@Output()
|
||||
response = new EventEmitter<boolean>();
|
||||
|
||||
constructor(protected activeModal: NgbActiveModal) {
|
||||
constructor(
|
||||
protected activeModal: NgbActiveModal,
|
||||
public dsoNameService: DSONameService,
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user