[CST-5674] Lint fixes

This commit is contained in:
Davide Negretti
2022-05-05 17:00:49 +02:00
parent 8c937a55c0
commit eb2d9b2fde
2 changed files with 2 additions and 4 deletions

View File

@@ -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> {

View File

@@ -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 {
} }
} }