From b9ee39399c998ea106528772d7866922a07edf36 Mon Sep 17 00:00:00 2001 From: Mark van der Wal Date: Sat, 5 Feb 2022 14:00:25 +0100 Subject: [PATCH] changed getFeatures index parameter use to indexed ?? true --- projects/common/src/fm/services/item.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common/src/fm/services/item.service.ts b/projects/common/src/fm/services/item.service.ts index c60a318..9f360fe 100644 --- a/projects/common/src/fm/services/item.service.ts +++ b/projects/common/src/fm/services/item.service.ts @@ -42,7 +42,7 @@ export class ItemService { if (parentCode) params = params.append("pc", parentCode); if (dataFilter) params = params.append("df", dataFilter); if (level) params = params.append("lvl", level.toString()); - if (indexed) params = params.append("ind", indexed); + params = params.append("ind", indexed ?? true); return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/items/features/`, {params:params}); }