@page "/tracks/{Id:long}"
@attribute [Authorize]
@inject NavigationManager Navigation

@* §8.M: the legacy single-track edit form is retired. Its edit responsibility is absorbed by
   BatchEdit's track-addressed entry (/tracks/{id}/edit), which loads the parent release and
   pre-selects the addressed track's row. This route is kept only as a redirect so any bookmarked
   /tracks/{id} lands on the live edit surface; CmsTrackGrid's per-row Edit targets the new route
   directly. *@

@code {
    [Parameter] public long Id { get; set; }

    protected override void OnInitialized() =>
        Navigation.NavigateTo($"/tracks/{Id}/edit", replace: true);
}
