Skip to content

Commit 041140e

Browse files
authored
fix(oganizations): correct logic for lfxMembership filter [CM-2247]
1 parent f9e8ba6 commit 041140e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/database/repositories/organizationRepository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ class OrganizationRepository {
15141514
index: number,
15151515
filterName: string,
15161516
) {
1517-
const lfxFilterObj = Object.assign(filtersArray[filterName][index])
1517+
const lfxFilterObj = Object.assign(filtersArray[filterName][index])?.lfxMembership
15181518
filtersArray[filterName].splice(index, 1)
15191519

15201520
if (filtersArray[filterName].length === 0)

0 commit comments

Comments
 (0)