@page "/" @using MatrixRoomUtils.Web.Classes @using MatrixRoomUtils.Web.Shared.IndexComponents @using Blazored.LocalStorage @inject NavigationManager NavigationManager @inject ILocalStorageService LocalStorage Index

Rory&::MatrixUtils

Small collection of tools to do not-so-everyday things.

Signed in accounts - Add new account or Import from TSV

@{ Console.WriteLine("Users in cache: " + LocalStorageWrapper.LoginSessions.Count); if (!LocalStorageWrapper.WasLoaded) { Console.WriteLine("[INDEX] !!! LOCALSTORAGE WAS NOT LOADED !!!"); LocalStorageWrapper.LoadFromLocalStorage(LocalStorage).GetAwaiter().OnCompleted(() => { Console.WriteLine("Users in cache: " + LocalStorageWrapper.LoginSessions.Count); StateHasChanged(); }); } }
@foreach (var (token, user) in LocalStorageWrapper.LoginSessions) { }