feat: add vacation day management to home view and persist changelog version in local storage
This commit is contained in:
@@ -114,9 +114,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
private void ClearBadge()
|
||||
private async Task ClearBadge()
|
||||
{
|
||||
_showVersionBadge = false;
|
||||
try
|
||||
{
|
||||
await JSRuntime.InvokeVoidAsync("localStorage.setItem", "lastSeenVersion", timetracker.Client.Components.Pages.Changelog.LatestVersion);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// Ignored
|
||||
}
|
||||
}
|
||||
|
||||
private string GetInitials(string? name)
|
||||
|
||||
Reference in New Issue
Block a user