Skip to content

Commit

Permalink
broken src table fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vvaldesc committed Jun 19, 2024
1 parent 9b888dc commit 0280f9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AntDesign/inputs/Autocomplete_Mail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Autocomplete_Mail: React.FC<{ profiles: any; loading: boolean; setEmailFil
style={{ width: 200 }}
onSelect={onSelect}
onChange={onChange}
placeholder="email"
placeholder="Email del perfil"
/>
</>
);
Expand Down
4 changes: 3 additions & 1 deletion src/components/AntDesign/tables/Profiles_table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ const App: React.FC<{profiles: any, loading: boolean}> = ({ profiles, loading })
// @ts-ignore
editable: true,
width: '1%',
render: (_: any, record: Item) => <img src={record.image} alt="image" />,
render: (_: any, record: Item) => {
return record.image ? <img src={record.image} alt="image" /> : null;
},
},
{
title: "Alta",
Expand Down

0 comments on commit 0280f9e

Please sign in to comment.