Skip to content

Commit

Permalink
fix: add name fallback for empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
martinstark committed Mar 28, 2024
1 parent 33c403a commit 93e95e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/landing-page/join-production.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const JoinProduction = () => {
{production &&
production.lines.map((line) => (
<option key={line.id} value={line.id}>
{line.name}
{line.name || line.id}
</option>
))}
</FormSelect>
Expand Down

0 comments on commit 93e95e7

Please sign in to comment.