added missing decorator for classes that use Angular features

This commit is contained in:
Giuseppe Digilio
2020-12-04 10:16:37 +01:00
parent 09101e83f3
commit 587affd064
13 changed files with 65 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
import { EventEmitter, Input, OnDestroy, OnInit, Output, Directive } from '@angular/core';
import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';
import { take } from 'rxjs/operators';
import { Observable } from 'rxjs';
import { RemoteData } from '../../../core/data/remote-data';
@@ -10,7 +10,10 @@ import { SortOptions } from '../../../core/cache/models/sort-options.model';
/**
* An abstract component used to select DSpaceObjects from a specific list and returning the UUIDs of the selected DSpaceObjects
*/
@Directive()
@Component({
selector: 'ds-object-select-abstract',
template: ''
})
export abstract class ObjectSelectComponent<TDomain> implements OnInit, OnDestroy {
/**