Skip to content

Commit

Permalink
Fix path in updateModalSettings (#3444)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesDoberer authored Sep 22, 2023
1 parent e1dd965 commit c023d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
await setModalSize();
}
if(LuigiConfig.getConfigBooleanValue('routing.showModalPathInUrl')){
Routing.updateModalDataInUrl(nodepath, {'title':settings.title, 'size':settings.size}, e.data.addHistoryEntry);
Routing.updateModalDataInUrl(RoutingHelpers.getModalPathFromPath(), {'title':settings.title, 'size':settings.size}, e.data.addHistoryEntry);
}
}
};
Expand Down

0 comments on commit c023d23

Please sign in to comment.