We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f542ddd commit c225aebCopy full SHA for c225aeb
1 file changed
src/components/SelectionList/UserListItem.tsx
@@ -127,7 +127,7 @@ function UserListItem<TItem extends ListItem>({
127
reportID={reportExists ? item.reportID : undefined}
128
/* eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing */
129
accountIDs={!reportExists && !!itemAccountID ? [itemAccountID] : []}
130
- policyID={!reportExists && !itemAccountID ? policyID : undefined}
+ policyID={!reportExists && !!policyID ? policyID : undefined}
131
singleAvatarContainerStyle={[styles.actionAvatar, styles.mr3]}
132
fallbackDisplayName={item.text ?? item.alternateText ?? undefined}
133
/>
0 commit comments