fixed metro stations in filters

This commit is contained in:
Dmitriy Shishkov 2023-05-17 10:49:05 +03:00
parent 8af5bd36d9
commit fb7f553915
Signed by: dm1sh
GPG Key ID: 027994B0AA357688

View File

@ -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>