mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23: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';
|
import { GetRequest } from './request.models';
|
||||||
|
|
||||||
|
|
||||||
@Injectable()
|
@Injectable({providedIn: 'root'})
|
||||||
@dataService(NOTIFYREQUEST)
|
@dataService(NOTIFYREQUEST)
|
||||||
export class NotifyRequestsStatusDataService extends IdentifiableDataService<NotifyRequestsStatus> {
|
export class NotifyRequestsStatusDataService extends IdentifiableDataService<NotifyRequestsStatus> {
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ import {
|
|||||||
/**
|
/**
|
||||||
* The service handling all Quality Assurance topic REST requests.
|
* The service handling all Quality Assurance topic REST requests.
|
||||||
*/
|
*/
|
||||||
@Injectable()
|
@Injectable({providedIn: 'root'})
|
||||||
@dataService(QUALITY_ASSURANCE_EVENT_OBJECT)
|
@dataService(QUALITY_ASSURANCE_EVENT_OBJECT)
|
||||||
export class QualityAssuranceEventDataService extends IdentifiableDataService<QualityAssuranceEventObject> {
|
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.
|
* The service handling all Quality Assurance source REST requests.
|
||||||
*/
|
*/
|
||||||
@Injectable()
|
@Injectable({providedIn: 'root'})
|
||||||
@dataService(QUALITY_ASSURANCE_SOURCE_OBJECT)
|
@dataService(QUALITY_ASSURANCE_SOURCE_OBJECT)
|
||||||
export class QualityAssuranceSourceDataService extends IdentifiableDataService<QualityAssuranceSourceObject> {
|
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.
|
* A service that provides methods to make REST requests with correctiontypes endpoint.
|
||||||
*/
|
*/
|
||||||
@Injectable()
|
@Injectable({providedIn: 'root'})
|
||||||
@dataService(CorrectionType.type)
|
@dataService(CorrectionType.type)
|
||||||
export class CorrectionTypeDataService extends IdentifiableDataService<CorrectionType> {
|
export class CorrectionTypeDataService extends IdentifiableDataService<CorrectionType> {
|
||||||
protected linkPath = 'correctiontypes';
|
protected linkPath = 'correctiontypes';
|
||||||
|
@@ -10,7 +10,7 @@ import { BrowseDefinition } from '../../../core/shared/browse-definition.model';
|
|||||||
import { RemoteData } from '../../../core/data/remote-data';
|
import { RemoteData } from '../../../core/data/remote-data';
|
||||||
import { BrowseService } from '../../../core/browse/browse.service';
|
import { BrowseService } from '../../../core/browse/browse.service';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { AsyncPipe, NgForOf } from '@angular/common';
|
import { AsyncPipe, NgForOf, NgIf } from '@angular/common';
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
|
|
||||||
export interface ComColPageNavOption {
|
export interface ComColPageNavOption {
|
||||||
@@ -34,7 +34,8 @@ export interface ComColPageNavOption {
|
|||||||
RouterLink,
|
RouterLink,
|
||||||
RouterLinkActive,
|
RouterLinkActive,
|
||||||
TranslateModule,
|
TranslateModule,
|
||||||
AsyncPipe
|
AsyncPipe,
|
||||||
|
NgIf
|
||||||
],
|
],
|
||||||
standalone: true
|
standalone: true
|
||||||
})
|
})
|
||||||
|
@@ -90,6 +90,8 @@ export class ListableObjectComponentLoaderComponent extends AbstractComponentLoa
|
|||||||
'showThumbnails',
|
'showThumbnails',
|
||||||
'viewMode',
|
'viewMode',
|
||||||
'value',
|
'value',
|
||||||
|
'showLabel',
|
||||||
|
'viewMode'
|
||||||
];
|
];
|
||||||
|
|
||||||
protected outputNames: (keyof this & string)[] = [
|
protected outputNames: (keyof this & string)[] = [
|
||||||
|
Reference in New Issue
Block a user