Skip to content

Commit

Permalink
fix(structure): don't replace url when navigating back to list after …
Browse files Browse the repository at this point in the history
…document deletion (#6953)
  • Loading branch information
bjoerge authored Jun 18, 2024
1 parent de01b7c commit f662ae2
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,9 @@ export function PaneRouterProvider(props: {
if (expandLast && lastPane) {
expand(lastPane.element)
}
navigate(
{
panes: [...routerPaneGroups.slice(0, groupIndex)],
},
{replace: true},
)
navigate({
panes: [...routerPaneGroups.slice(0, groupIndex)],
})
},

// Duplicate the current pane, with optional overrides for payload, parameters
Expand Down

0 comments on commit f662ae2

Please sign in to comment.