aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/StopGalleryItem.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/components/StopGalleryItem.tsx')
-rw-r--r--src/frontend/app/components/StopGalleryItem.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/app/components/StopGalleryItem.tsx b/src/frontend/app/components/StopGalleryItem.tsx
index 24d92a2..0af14bc 100644
--- a/src/frontend/app/components/StopGalleryItem.tsx
+++ b/src/frontend/app/components/StopGalleryItem.tsx
@@ -23,11 +23,11 @@ const StopGalleryItem: React.FC<StopGalleryItemProps> = ({ stop }) => {
{StopDataProvider.getDisplayName(region, stop)}
</div>
<div className="gallery-item-lines">
- {stop.lines?.slice(0, 3).map((line) => (
+ {stop.lines?.slice(0, 6).map((line) => (
<LineIcon key={line} line={line} region={region} />
))}
- {stop.lines && stop.lines.length > 3 && (
- <span className="more-lines">+{stop.lines.length - 3}</span>
+ {stop.lines && stop.lines.length > 5 && (
+ <span className="more-lines">+{stop.lines.length - 5}</span>
)}
</div>
</Link>