Skip to content

Commit 253da7a

Browse files
committed
Test fixes
1 parent 3119d14 commit 253da7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Framework/Framework/Routing/DotvvmRouteTable.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ private string CombinePath(string? prefix, string? appendedPath)
334334
{
335335
return localizedUrls;
336336
}
337+
if (group.LocalizedUrls == null && localizedUrls == null)
338+
{
339+
return null;
340+
}
337341

338342
var groupCultures = group.LocalizedUrls?.ToDictionary(u => u.CultureIdentifier, u => u.RouteUrl) ?? new();
339343
var routeCultures = localizedUrls?.ToDictionary(u => u.CultureIdentifier, u => u.RouteUrl) ?? new();

0 commit comments

Comments
 (0)