Skip to content

Commit

Permalink
Fix creator display
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Feb 3, 2025
1 parent d6c8fb9 commit 4acf0c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const OwnershipsTable = ({
[requests],
);

if (requests.length === 0) {
if (requests.length === 0 && !creator) {
return <Text>{t('organizers.ownerships.table.no_results')}</Text>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ const Ownership = () => {
<Stack spacing={4}>
<Title size={3}>{t('organizers.ownerships.owners')}</Title>
<OwnershipsTable
creator={creator}
requests={approvedRequests}
onDelete={setRequestToBeDeleted}
/>
Expand Down

0 comments on commit 4acf0c3

Please sign in to comment.