fix(share): correct share URLs for session/mix detail pages — release mode + /tracks/ plural
This commit is contained in:
@@ -46,7 +46,8 @@ else
|
||||
Track="@ViewModel.Track"
|
||||
BackHref="/mixes"
|
||||
BackLabel="All mixes"
|
||||
ShowMeta="@(hasGenre || hasDate)">
|
||||
ShowMeta="@(hasGenre || hasDate)"
|
||||
ShowShareRow="false">
|
||||
<TopRightAction>
|
||||
@* Lava-lamp button top-right, across from the back link. Toggles the INLINE seven-knob
|
||||
control bar that animates open/closed in place below it (lava reframe §7b) — not a
|
||||
@@ -100,6 +101,12 @@ else
|
||||
</div>
|
||||
}
|
||||
</MetaContent>
|
||||
<BodyContent>
|
||||
@* Release-mode share: copies the canonical /mixes/{entryKey} URL, not a single track (§3b). *@
|
||||
<div class="deepdrft-share-row">
|
||||
<SharePopover ReleaseEntryKey="@release.EntryKey" ReleaseMedium="@release.Medium" />
|
||||
</div>
|
||||
</BodyContent>
|
||||
</ReleaseDetailScaffold>
|
||||
</MudContainer>
|
||||
</div>
|
||||
|
||||
@@ -87,12 +87,10 @@ else
|
||||
</div>
|
||||
}
|
||||
</MudStack>
|
||||
@if (ViewModel.Track is not null)
|
||||
{
|
||||
<div class="session-hero-share">
|
||||
<SharePopover EntryKey="@ViewModel.Track.EntryKey" />
|
||||
</div>
|
||||
}
|
||||
@* Release-mode share: copies the canonical /sessions/{entryKey} URL, not a single track (§3b). *@
|
||||
<div class="session-hero-share">
|
||||
<SharePopover ReleaseEntryKey="@release.EntryKey" ReleaseMedium="@release.Medium" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@* Bottom overlay: cover thumbnail, title/artist, and the play affordance in one row. *@
|
||||
|
||||
Reference in New Issue
Block a user