Remove unused makeGetGroup
This commit is contained in:
parent
a375159444
commit
df4975c688
1 changed files with 0 additions and 13 deletions
|
@ -328,16 +328,3 @@ export const makeGetStatusIds = () => createSelector([
|
||||||
return !shouldFilter(status, columnSettings);
|
return !shouldFilter(status, columnSettings);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
export const makeGetGroup = () => {
|
|
||||||
return createSelector([
|
|
||||||
(state: RootState, id: string) => state.groups.items.get(id),
|
|
||||||
(state: RootState, id: string) => state.group_relationships.get(id),
|
|
||||||
], (base, relationship) => {
|
|
||||||
if (!base) return null;
|
|
||||||
|
|
||||||
return base.withMutations(map => {
|
|
||||||
if (relationship) map.set('relationship', relationship);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
Loading…
Reference in a new issue