mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
remove obsolete constructor
This commit is contained in:
@@ -6,7 +6,6 @@ import {
|
||||
OnInit,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { Suggestion } from 'src/app/core/notifications/suggestions/models/suggestion.model';
|
||||
|
||||
@@ -62,13 +61,6 @@ export class SuggestionListElementComponent implements OnInit {
|
||||
*/
|
||||
@Output() selected = new EventEmitter<boolean>();
|
||||
|
||||
/**
|
||||
* Initialize instance variables
|
||||
*
|
||||
* @param {NgbModal} modalService
|
||||
*/
|
||||
constructor(private modalService: NgbModal) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.listableObject = {
|
||||
indexableObject: Object.assign(new Item(), { id: this.object.id, metadata: this.object.metadata }),
|
||||
|
Reference in New Issue
Block a user