@namespace DeepDrftPublic.Client.Controls.AudioPlayerBar
@if (Track is not null)
{
@* Title links to the release's dedicated detail page via the shared resolver (ยง2): the
TrackDto already carries Release { Id, Medium }, so no round-trip is needed. When no
release is attached there is no medium to resolve, so the title renders unlinked.
When Fixed (embedded iframe), the link opens in a new tab so the iframe keeps playing. *@
@if (Track.Release is not null)
{
@if (Fixed)
{
@Track.TrackName
}
else
{
@Track.TrackName
}
}
else
{
@Track.TrackName
}
-
@Track.Release?.Artist