Skip to content

Commit 913257b

Browse files
Fix the persistence issue for nad configs and filters (#3049)
Fix the persistence issue for nad configs and filters that could make a NAD not display the correct voltage levels when switching nodes. -------------------------- Signed-off-by: BOUTIER Charly <[email protected]>
1 parent 2530197 commit 913257b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/diagrams/hooks/use-diagram-model.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,6 @@ export const useDiagramModel = ({ diagramTypes, onAddDiagram, onDiagramAlreadyEx
261261
svg: data,
262262
name: getDiagramTitle(diagram, data),
263263
...(diagram.type === DiagramType.NETWORK_AREA_DIAGRAM && {
264-
nadConfigUuid: undefined,
265-
filterUuid: undefined,
266264
voltageLevelToExpandIds: [],
267265
voltageLevelIds: [
268266
...new Set([

0 commit comments

Comments
 (0)