Skip to content

Commit 531fcc6

Browse files
authored
Update tab titles using current navigation arguments (#7333)
1 parent f2e729d commit 531fcc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files/Views/PaneHolderPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ private void Pane_ContentChanged(object sender, TabItemArguments e)
285285
InitialPageType = typeof(PaneHolderPage),
286286
NavigationArg = new PaneNavigationArguments()
287287
{
288-
LeftPaneNavPathParam = PaneLeft.TabItemArguments?.NavigationArg as string,
288+
LeftPaneNavPathParam = e.NavigationArg as string ?? PaneLeft.TabItemArguments?.NavigationArg as string,
289289
RightPaneNavPathParam = IsRightPaneVisible ? PaneRight?.TabItemArguments?.NavigationArg as string : null
290290
}
291291
};

0 commit comments

Comments
 (0)