From e61c200b748430975ebe643faab0b8d46704b578 Mon Sep 17 00:00:00 2001 From: Maximilian Krambach Date: Tue, 12 Feb 2019 13:05:06 +0100 Subject: [PATCH] fix category filter --- client/src/app/core/ui-services/base-filter-list.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/core/ui-services/base-filter-list.service.ts b/client/src/app/core/ui-services/base-filter-list.service.ts index ba82c12cf..b2f49edff 100644 --- a/client/src/app/core/ui-services/base-filter-list.service.ts +++ b/client/src/app/core/ui-services/base-filter-list.service.ts @@ -316,7 +316,7 @@ export abstract class BaseFilterListService { if (value === condition) { return true; - } else if (value.hasOwnProperty('id') && value.id === condition) { + } else if ('id' in value && value.id === condition) { return true; } return false; @@ -341,7 +341,7 @@ export abstract class BaseFilterListService