mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-25 19:30:05 +01:00
feat: implemented login-prolong-logout mechanisms
This commit is contained in:
1 parent
79a87d0d66
commit
241b879689
53 files changed
+1789
-13
No files matched your search
@@ -55,5 +55,10 @@ namespace WotBlitzStatisticsPro.Blazor.Services
|
||||
currentSettings.RealmType = notification.RealmType;
|
||||
await SetItemAsync(UserSettings.UserSettingsLocalStorageKey, currentSettings);
|
||||
}
|
||||
|
||||
public ValueTask DeleteItemAsync(string key)
|
||||
{
|
||||
return _jsRuntime.InvokeVoidAsync("localStorage.removeItem", key);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user