We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea8350b commit 611ba15Copy full SHA for 611ba15
1 file changed
src/Masa.Stack.Components/Shared/GlobalNavigations/GlobalNavigationSapp.razor.cs
@@ -83,13 +83,10 @@ private async Task MenuItemClickAsync(ExpansionMenu menu)
83
{
84
var absoluteUrl = BuildAbsoluteUrl(url);
85
await JsRuntime.InvokeVoidAsync("open", absoluteUrl, "_blank");
86
- if (ShouldCloseDialog(absoluteUrl))
87
- {
88
- _visible = false;
89
- }
+
90
return;
91
}
92
-
93
NavigateTo(url);
94
95
@@ -220,12 +217,9 @@ private void NavigateTo(string? url)
220
217
221
218
222
219
223
- if (ShouldCloseDialog(url))
224
225
226
+ _visible = false;
227
228
- NavigationManager.NavigateTo(url);
+ NavigationManager.OriginalNavigationManager.NavigateTo(url);
229
230
231
private static bool HasWebFullIcon(AppEntryDto app)
0 commit comments