From ef302bbd171eb172801efed21b55794e780ff452 Mon Sep 17 00:00:00 2001 From: Mohamed Hamou Date: Mon, 11 Mar 2024 11:00:47 +0100 Subject: [PATCH] Resolve SB and QMC discussion --- .../config-manager/action-modal/action-modal.component.ts | 2 +- .../src/lib/services/interceptor/fetch-interceptor.service.ts | 2 +- .../src/lib/services/persistence/persistence.service.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/arlas-toolkit/src/lib/components/config-manager/action-modal/action-modal.component.ts b/projects/arlas-toolkit/src/lib/components/config-manager/action-modal/action-modal.component.ts index 576d9656a..a345f7fc3 100644 --- a/projects/arlas-toolkit/src/lib/components/config-manager/action-modal/action-modal.component.ts +++ b/projects/arlas-toolkit/src/lib/components/config-manager/action-modal/action-modal.component.ts @@ -235,7 +235,7 @@ export class ActionModalComponent { } private getOptionsSetOrg(org: string) { - this.persistenceService.getOptionsSetOrg(org); + return this.persistenceService.getOptionsSetOrg(org); } } diff --git a/projects/arlas-toolkit/src/lib/services/interceptor/fetch-interceptor.service.ts b/projects/arlas-toolkit/src/lib/services/interceptor/fetch-interceptor.service.ts index 965aae119..4bffabce0 100644 --- a/projects/arlas-toolkit/src/lib/services/interceptor/fetch-interceptor.service.ts +++ b/projects/arlas-toolkit/src/lib/services/interceptor/fetch-interceptor.service.ts @@ -55,7 +55,7 @@ export class FetchInterceptorService { return response; }, responseError: (error) => - // Handle an fetch error + // Handle a fetch error // eslint-disable-next-line brace-style { console.log(error); diff --git a/projects/arlas-toolkit/src/lib/services/persistence/persistence.service.ts b/projects/arlas-toolkit/src/lib/services/persistence/persistence.service.ts index 466a06b31..e9dd33a32 100644 --- a/projects/arlas-toolkit/src/lib/services/persistence/persistence.service.ts +++ b/projects/arlas-toolkit/src/lib/services/persistence/persistence.service.ts @@ -82,7 +82,7 @@ export class PersistenceService { this.options = options; } - /** updates the preview's name, readers and writers */ + /** updates the resource's name, readers and writers */ public updateResource(id: string, readers: string[], writers: string[], newValue?: string, options = this.options) { this.exists(id, options).subscribe( exist => { @@ -142,7 +142,7 @@ export class PersistenceService { return newOptions; } - /** deletes the preview by its id */ + /** deletes the resource by its id */ public deleteResource(previewId: string, options = this.options) { this.exists(previewId, options).subscribe( exist => {