v3: the dump page's "In collections" list only shows the owner's private badge — every card there said "public", which says nothing on a list of playlists holding the dump. PlaylistCard takes privateBadgeOnly, passed through PlaylistCardList, which hides the visibility badge except on a private playlist of the signed-in user's; the other lists of playlists keep both badges. 5 PlaylistCard tests pass (new: privateBadgeOnly), and tsc, eslint, doc:lint and deno fmt are clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -569,7 +569,7 @@ export function Dump(): React.JSX.Element {
|
||||
<h2 className="related-section-title">
|
||||
<Trans>In collections</Trans>
|
||||
</h2>
|
||||
<PlaylistCardList playlists={collections} />
|
||||
<PlaylistCardList playlists={collections} privateBadgeOnly />
|
||||
</section>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user