[DURACOM-191] fix errors at runtime

This commit is contained in:
Andrea Barbasso
2024-03-08 13:12:05 +01:00
parent 19f806caf2
commit a147f78a1d
6 changed files with 9 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ import { RemoteData } from './remote-data';
import { GetRequest } from './request.models';
@Injectable()
@Injectable({providedIn: 'root'})
@dataService(NOTIFYREQUEST)
export class NotifyRequestsStatusDataService extends IdentifiableDataService<NotifyRequestsStatus> {

View File

@@ -34,7 +34,7 @@ import {
/**
* The service handling all Quality Assurance topic REST requests.
*/
@Injectable()
@Injectable({providedIn: 'root'})
@dataService(QUALITY_ASSURANCE_EVENT_OBJECT)
export class QualityAssuranceEventDataService extends IdentifiableDataService<QualityAssuranceEventObject> {

View File

@@ -21,7 +21,7 @@ import { SearchData, SearchDataImpl } from '../../../data/base/search-data';
/**
* The service handling all Quality Assurance source REST requests.
*/
@Injectable()
@Injectable({providedIn: 'root'})
@dataService(QUALITY_ASSURANCE_SOURCE_OBJECT)
export class QualityAssuranceSourceDataService extends IdentifiableDataService<QualityAssuranceSourceObject> {

View File

@@ -19,7 +19,7 @@ import { getAllSucceededRemoteDataPayload, getPaginatedListPayload } from '../sh
/**
* A service that provides methods to make REST requests with correctiontypes endpoint.
*/
@Injectable()
@Injectable({providedIn: 'root'})
@dataService(CorrectionType.type)
export class CorrectionTypeDataService extends IdentifiableDataService<CorrectionType> {
protected linkPath = 'correctiontypes';

View File

@@ -10,7 +10,7 @@ import { BrowseDefinition } from '../../../core/shared/browse-definition.model';
import { RemoteData } from '../../../core/data/remote-data';
import { BrowseService } from '../../../core/browse/browse.service';
import { FormsModule } from '@angular/forms';
import { AsyncPipe, NgForOf } from '@angular/common';
import { AsyncPipe, NgForOf, NgIf } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
export interface ComColPageNavOption {
@@ -34,7 +34,8 @@ export interface ComColPageNavOption {
RouterLink,
RouterLinkActive,
TranslateModule,
AsyncPipe
AsyncPipe,
NgIf
],
standalone: true
})

View File

@@ -90,6 +90,8 @@ export class ListableObjectComponentLoaderComponent extends AbstractComponentLoa
'showThumbnails',
'viewMode',
'value',
'showLabel',
'viewMode'
];
protected outputNames: (keyof this & string)[] = [