fix: invalidate VM cache after upload and rename Albums tab/card to Releases

This commit is contained in:
daniel-c-harvey
2026-06-11 18:55:36 -04:00
parent c6078a3e71
commit 4b26e0a969
4 changed files with 6 additions and 2 deletions
@@ -10,6 +10,7 @@
@inject NavigationManager Navigation
@inject ISnackbar Snackbar
@inject ILogger<BatchUpload> Logger
@inject CmsTrackBrowserViewModel VM
<PageTitle>Upload Release — DeepDrft CMS</PageTitle>
@@ -290,6 +291,7 @@
if (failed == 0)
{
Snackbar.Add($"Uploaded {succeeded} track(s).", Severity.Success);
VM.Invalidate();
Navigation.NavigateTo("/tracks");
}
else