mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 22:43:03 +00:00
[DURACOM-191] fix errors at runtime
This commit is contained in:
@@ -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> {
|
||||
|
||||
|
@@ -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> {
|
||||
|
||||
|
@@ -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> {
|
||||
|
||||
|
@@ -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';
|
||||
|
@@ -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
|
||||
})
|
||||
|
@@ -90,6 +90,8 @@ export class ListableObjectComponentLoaderComponent extends AbstractComponentLoa
|
||||
'showThumbnails',
|
||||
'viewMode',
|
||||
'value',
|
||||
'showLabel',
|
||||
'viewMode'
|
||||
];
|
||||
|
||||
protected outputNames: (keyof this & string)[] = [
|
||||
|
Reference in New Issue
Block a user