Skip to content

Commit

Permalink
Fallback to displaying publisher id in publisher list when display na…
Browse files Browse the repository at this point in the history
…me is blank (#19)
  • Loading branch information
blepping authored Sep 3, 2024
1 parent 9dfc146 commit 9b0e59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/publisher/PublisherNodes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const PublisherNodes: React.FC<PublisherNodesProps> = ({
<div className="flex items-center gap-2">
<h1 className="text-lg font-bold leading-tight tracking-tight text-white sm:text-2xl">
<Link href={`publishers/${publisher.id}`}>
{publisher.name}
{publisher.name !== "" ? publisher.name : publisher.id}
</Link>
</h1>

Expand Down

0 comments on commit 9b0e59f

Please sign in to comment.