From 425d0eb88c1b04e93bc32fcd900d8fcfa3a29410 Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 15 Apr 2025 18:13:56 +0200 Subject: Fix session store --- MatrixUtils.Web/Shared/MainLayout.razor | 52 +++++++++++---------------------- 1 file changed, 17 insertions(+), 35 deletions(-) (limited to 'MatrixUtils.Web/Shared/MainLayout.razor') diff --git a/MatrixUtils.Web/Shared/MainLayout.razor b/MatrixUtils.Web/Shared/MainLayout.razor index c06fe5a..b32735f 100644 --- a/MatrixUtils.Web/Shared/MainLayout.razor +++ b/MatrixUtils.Web/Shared/MainLayout.razor @@ -1,41 +1,23 @@ @inherits LayoutComponentBase -@if (_isLoaded) { -
- - -
-
- @* *@ - @* *@ - Git - Matrix -
- -
- @Body -
- - -
+
+ -} -else { -

Attaching session store, please wait...

-} - - -@code { - - private bool _isLoaded; +
+
+ @* *@ + @* *@ + Git + Matrix +
- protected override async Task OnInitializedAsync() { - await sessionStore.EnsureInitialized(); - _isLoaded = true; - } +
+ @Body +
+
+
-} \ No newline at end of file + -- cgit 1.5.1