mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33:03 +00:00
Merge remote-tracking branch 'origin/main' into more-eslint
This commit is contained in:
@@ -1,14 +1,6 @@
|
||||
import {
|
||||
Component,
|
||||
EventEmitter,
|
||||
Input,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
|
||||
import { DSONameService } from '../../core/breadcrumbs/dso-name.service';
|
||||
import { DSpaceObject } from '../../core/shared/dspace-object.model';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-confirmation-modal',
|
||||
templateUrl: 'confirmation-modal.component.html',
|
||||
@@ -24,7 +16,7 @@ export class ConfirmationModalComponent {
|
||||
*/
|
||||
@Input() brandColor = 'primary';
|
||||
|
||||
@Input() dso: DSpaceObject;
|
||||
@Input() name: string;
|
||||
|
||||
/**
|
||||
* An event fired when the cancel or confirm button is clicked, with respectively false or true
|
||||
@@ -34,7 +26,6 @@ export class ConfirmationModalComponent {
|
||||
|
||||
constructor(
|
||||
protected activeModal: NgbActiveModal,
|
||||
public dsoNameService: DSONameService,
|
||||
) {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user