NavigateUrl fix to deal with scenario where alias has a value and path is ""
This commit is contained in:
@ -20,7 +20,9 @@ namespace Oqtane.Shared
|
||||
var uriBuilder = new UriBuilder
|
||||
{
|
||||
Path = !string.IsNullOrEmpty(alias)
|
||||
? $"{alias}/{path}"
|
||||
? (!string.IsNullOrEmpty(path))
|
||||
? $"{alias}/{path}"
|
||||
: $"{alias}"
|
||||
: $"{path}",
|
||||
Query = parameters
|
||||
};
|
||||
|
Reference in New Issue
Block a user