Skip to content

Commit 7149f2f

Browse files
committed
front: activate operational points layer by default in maps
Signed-off-by: romainvalls <[email protected]>
1 parent 4f8fa4c commit 7149f2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

front/src/reducers/editor/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const editorInitialState: EditorState = {
2222
// Definition of entities (json schema)
2323
editorSchema: [],
2424
// ID of selected layers on which we are working
25-
editorLayers: new Set(['track_sections']),
25+
editorLayers: new Set(['operational_points', 'track_sections']),
2626
// Editor issue management
2727
issues: {
2828
total: 0,

front/src/reducers/map/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ export const mapInitialState: MapState = {
8383
electrifications: false,
8484
neutral_sections: false,
8585
detectors: false,
86-
operational_points: false,
86+
operational_points: true,
8787
routes: false,
8888
signals: false,
8989
sncf_psl: false,
9090
speed_limits: false,
9191
speedlimittag: null,
9292
switches: false,
9393
tvds: false,
94-
platforms: true,
94+
platforms: false,
9595
},
9696
mapSearchMarker: undefined,
9797
lineSearchCode: undefined,

0 commit comments

Comments
 (0)