diff options
-rw-r--r-- | src/plugins/spotifyControls/PlayerComponent.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/spotifyControls/PlayerComponent.tsx b/src/plugins/spotifyControls/PlayerComponent.tsx index 16fa250..6396e02 100644 --- a/src/plugins/spotifyControls/PlayerComponent.tsx +++ b/src/plugins/spotifyControls/PlayerComponent.tsx @@ -293,15 +293,16 @@ function Info({ track }: { track: Track; }) { {track.album.name && ( <Forms.FormText variant="text-sm/normal" className={cl("ellipoverflow")}> on - <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> |