Skip to content

Commit

Permalink
Show if multible cylinders in clashing set
Browse files Browse the repository at this point in the history
  • Loading branch information
ilesoft authored Oct 22, 2023
1 parent f1bdf5b commit 140f6dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Logbook/FillingTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ export const LogbookFillingEventRowComponent: React.FC<
{dcs.name}
{divingCylinderSets.filter((e) => e.name === dcs.name).length >
1
? `(${dcs.cylinders[0].serialNumber})`
? ` (${dcs.cylinders[0].serialNumber}${
dcs.cylinders.length > 1 ? ' jne...' : ''
})`
: ''}
</option>
))}
Expand Down

0 comments on commit 140f6dd

Please sign in to comment.