mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 03:11:12 -05:00
Add coaster-specific fields
This commit is contained in:
@@ -182,7 +182,8 @@ export default function Rides() {
|
||||
|
||||
// Track material filter
|
||||
if (filters.trackMaterials.length > 0) {
|
||||
if (!ride.track_material || !filters.trackMaterials.includes(ride.track_material)) {
|
||||
if (!ride.track_material || ride.track_material.length === 0 ||
|
||||
!ride.track_material.some(material => filters.trackMaterials.includes(material))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user