We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2522b0e commit b8e2030Copy full SHA for b8e2030
1 file changed
src/Utility/Shared/MainLayout.razor
@@ -34,6 +34,7 @@
34
<div class="link1">
35
<a href="https://alexhedley.com/Utility-Documentation/" target="_blank">Documentation</a>
36
</div>
37
+ <FluentSpacer />
38
<div class="link2">
39
<a href="https://alexhedley.com/Utility/" target="_blank">About</a>
40
@@ -67,8 +68,8 @@
67
68
Uri uri = new Uri(e.Location);
69
string pathName = uri.AbsolutePath;
70
var path = pathName.Split(new []{ "/" }, StringSplitOptions.RemoveEmptyEntries);
-
71
- await localStorage.SetItemAsync(Constants.LOCAL_STORAGE_TAB, path[^1]);
+ if (path.Length != 0)
72
+ await localStorage.SetItemAsync(Constants.LOCAL_STORAGE_TAB, path[^1]);
73
}
74
75
void IDisposable.Dispose()
0 commit comments