Skip to content

Commit

Permalink
ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveDarsa committed Nov 10, 2023
1 parent 8d81550 commit 950c2c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const PaginatedTable: FC<Props> = ({
if (defaultViewOptions?.type === 'user') {
filtered = filtered.filter(dataItem => {
//@ts-ignore
const filterItem = dataItem.email ? dataItem.email : dataItem.user.email;
const filterItem = dataItem.email ? dataItem.email : (dataItem.user.email as string);
return !(filterItem as string).startsWith('default-user');
});
}
Expand Down

0 comments on commit 950c2c7

Please sign in to comment.