Skip to content

Commit aba69a1

Browse files
committed
Update ShellNavigationManager.cs
1 parent e36a2d7 commit aba69a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controls/src/Core/Shell/ShellNavigationManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public static void ApplyQueryAttributes(Element element, ShellRouteParameters qu
313313
var mergedData = MergeData(element, filteredQuery, isPopping);
314314

315315
//if we are pop or navigating back, we need to apply the query attributes to the ShellContent
316-
if (isPopping)
316+
if (isPopping && mergedData.Count > 0 )
317317
{
318318
element.SetValue(ShellContent.QueryAttributesProperty, mergedData);
319319
}

0 commit comments

Comments
 (0)