Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / account / members / selectors.ts
blobc85585a7575d1ff770abcdbf470abd2421353778
1 import { createSelector } from '@reduxjs/toolkit';
3 import { getIsMemberInactive } from '@proton/shared/lib/keys/memberHelper';
5 import { selectMembers } from './index';
7 export const selectDisabledMembers = createSelector(selectMembers, (membersState) => {
8     return membersState.value?.filter(getIsMemberInactive) || [];
9 });