Skip to content

Commit

Permalink
Update src/UserSearchContainer.js
Browse files Browse the repository at this point in the history
Co-authored-by: Artem Blazhko <[email protected]>
  • Loading branch information
Terala-Priyanka and artem-blazhko authored Jan 12, 2024
1 parent 16e11ee commit 4bd8c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UserSearchContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class UserSearchContainer extends React.Component {

if (activeFilters.includes(UAS)) {
const assignedUserIds = Object.keys(initialSelectedUsers);
const hasBothUASFilters = activeFilters.includes(`${ASSIGNED_FILTER_KEY}`) && activeFilters.includes(UNASSIGNED_FILTER_KEY);
const hasBothUASFilters = activeFilters.includes(ASSIGNED_FILTER_KEY) && activeFilters.includes(UNASSIGNED_FILTER_KEY);
const hasNoneOfUASFilters = !activeFilters.includes(ASSIGNED_FILTER_KEY) && !activeFilters.includes(UNASSIGNED_FILTER_KEY);
const uasFilterValue = activeFilters.split(',').filter(f => f.includes(UAS))[0].split('.')[1];

Expand Down

0 comments on commit 4bd8c31

Please sign in to comment.