1
0

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 { Inject, OnDestroy, OnInit, Directive } from '@angular/core';
import { Component, Inject, OnDestroy, OnInit } from '@angular/core';
import { Observable, Subscription } from 'rxjs';
import { filter, startWith } from 'rxjs/operators';
@@ -14,7 +14,10 @@ export interface SectionDataModel {
/**
* An abstract model class for a submission edit form section.
*/
@Directive()
@Component({
selector: 'ds-section-model',
template: ''
})
export abstract class SectionModelComponent implements OnDestroy, OnInit, SectionDataModel {
protected abstract sectionService: SectionsService;