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