fixed metro stations in filters
This commit is contained in:
parent
8af5bd36d9
commit
fb7f553915
@ -55,9 +55,11 @@ function Filters({ filter, setFilter, filterShown, setFilterShown }) {
|
|||||||
<option value="">
|
<option value="">
|
||||||
Выберите станцию метро
|
Выберите станцию метро
|
||||||
</option>
|
</option>
|
||||||
{metros.map(
|
{Object.entries(metros).map(
|
||||||
(metro) =>
|
([branch, stations]) =>
|
||||||
|
stations.map(metro =>
|
||||||
<option key={metro} value={metro}>{metro}</option>
|
<option key={metro} value={metro}>{metro}</option>
|
||||||
|
)
|
||||||
)}
|
)}
|
||||||
</Form.Select>
|
</Form.Select>
|
||||||
</Form.Group>
|
</Form.Group>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user