mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
[CST-5674] Lint fixes
This commit is contained in:
@@ -259,7 +259,7 @@ export class ResourcePolicyService {
|
|||||||
this.requestService.setStaleByHrefSubstring(`${this.dataService.getLinkPath()}/${resourcePolicyId}/${type}`);
|
this.requestService.setStaleByHrefSubstring(`${this.dataService.getLinkPath()}/${resourcePolicyId}/${type}`);
|
||||||
|
|
||||||
return targetEndpoint$.pipe(switchMap((targetEndpoint) => {
|
return targetEndpoint$.pipe(switchMap((targetEndpoint) => {
|
||||||
const resourceEndpoint = resourcePolicyHref + '/' + type
|
const resourceEndpoint = resourcePolicyHref + '/' + type;
|
||||||
const request = new PostRequest(requestId, resourceEndpoint, targetEndpoint, options);
|
const request = new PostRequest(requestId, resourceEndpoint, targetEndpoint, options);
|
||||||
Object.assign(request, {
|
Object.assign(request, {
|
||||||
getResponseParser(): GenericConstructor<ResponseParsingService> {
|
getResponseParser(): GenericConstructor<ResponseParsingService> {
|
||||||
|
@@ -182,9 +182,7 @@ export class ResourcePolicyFormComponent implements OnInit, OnDestroy {
|
|||||||
this.navActiveId = String(dsoRD.payload.type);
|
this.navActiveId = String(dsoRD.payload.type);
|
||||||
this.resourcePolicyTargetName$.next(this.getResourcePolicyTargetName());
|
this.resourcePolicyTargetName$.next(this.getResourcePolicyTargetName());
|
||||||
})
|
})
|
||||||
)
|
);
|
||||||
} else {
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user