Skip to content

Commit

Permalink
Merge pull request #963 from cultuurnet/bugfix/III-6146-creator-crash
Browse files Browse the repository at this point in the history
Ensure Ownerships table don't crash on missing creator prop (cf. pending table)
  • Loading branch information
LucWollants authored Dec 11, 2024
2 parents 9e507c4 + 13e1cd3 commit 5a45152
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const OwnershipsTable = ({
<Title size={3}>{t('organizers.ownerships.table.actions.title')}</Title>
</Inline>
<List paddingY={3}>
<List.Item>{creator.email}</List.Item>
{creator && <List.Item>{creator.email}</List.Item>}
{requests.map((request) => (
<Inline
key={request.id}
Expand Down

0 comments on commit 5a45152

Please sign in to comment.