Projekt

Obecné

Profil

« Předchozí | Další » 

Revize f41a4cd3

Přidáno uživatelem Václav Honzík před více než 2 roky(ů)

import menu start

re #9741

Zobrazit rozdíly:

frontend/src/features/TrackingTool/Map/MapPath.tsx
62 62
    useEffect(() => {
63 63
        // Get all active map points
64 64
        const activeMapPoints = displayableMapPoints.filter(
65
            (item) => item.active
65
            (item) => item.addToPath && !item.hidden
66 66
        )
67 67
        if (activeMapPoints.length < 2) {
68 68
            setEdges([])
......
155 155
                                    <FormControlLabel
156 156
                                        control={
157 157
                                            <Checkbox
158
                                                checked={item.active}
158
                                                checked={item.addToPath}
159 159
                                                onChange={() => {
160 160
                                                    dispatch(
161 161
                                                        updateMapMarker({
162 162
                                                            ...item,
163
                                                            active: !item.active,
163
                                                            addToPath: !item.addToPath,
164 164
                                                        })
165 165
                                                    )
166 166
                                                }}

Také k dispozici: Unified diff