spotifyControls: make album of local tracks unclickable (#203)

This commit is contained in:
Jānis 2022-11-10 20:33:00 +02:00 committed by GitHub
parent 010523eeac
commit 57f3feba68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -293,15 +293,16 @@ function Info({ track }: { track: Track; }) {
{track.album.name && (
<Forms.FormText variant="text-sm/normal" className={cl("ellipoverflow")}>
on&nbsp;
<a id={cl("album-title")}
<Link id={cl("album-title")}
href={`https://open.spotify.com/album/${track.album.id}`}
target="_blank"
className={cl("album")}
disabled={!track.album.id}
style={{ fontSize: "inherit" }}
title={track.album.name}
>
{track.album.name}
</a>
</Link>
</Forms.FormText>
)}
</div>