diff --git a/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts b/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts index 4dae18c7a..4dee59392 100644 --- a/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts +++ b/src/app/modules/angular-slickgrid/components/angular-slickgrid.component.ts @@ -511,10 +511,8 @@ export class AngularSlickgridComponent implements AfterViewInit, On // internalPostProcess only works (for now) with a GraphQL Service, so make sure it is of that type if (typeof backendApiService.getDatasetName === 'function') { backendApi.internalPostProcess = (processResult: any) => { - const datasetName = - backendApi && backendApiService && typeof backendApiService.getDatasetName === 'function' - ? backendApiService.getDatasetName() - : ''; + // prettier-ignore + const datasetName = backendApi && backendApiService && typeof backendApiService.getDatasetName === 'function' ? backendApiService.getDatasetName() : ''; if (processResult?.data[datasetName]) { const data = 'nodes' in processResult.data[datasetName]