Skip to content

Commit

Permalink
fix(boards): link to organization
Browse files Browse the repository at this point in the history
  • Loading branch information
emilielr committed Jun 10, 2024
1 parent 1946000 commit 73c86a3
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ function Organization({ organization }: { organization: TOrganization }) {

return (
<Column column="organization">
<Link href={`/organizations/${organization.id}`}>{orgName}</Link>
{organization.id ? (
<Link href={`/organizations/${organization.id}`}>
{orgName}
</Link>
) : (
<p>{orgName}</p>
)}
</Column>
)
}
Expand Down

0 comments on commit 73c86a3

Please sign in to comment.