Skip to content

Commit

Permalink
fix title in player info
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed Feb 17, 2024
1 parent b72c352 commit 9b34e08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PlayerInfo/PlayerInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ function PlayerInfo() {
<div className="player-info-container" data-vjs-player>
<div className="player-info"></div>
<span className="player-info-text" style={textStyle}>
{title && (left > 1) && `Треков в очереди: ${left}, играет ${left}`}
{title && !(left > 1) && `Играет: ${left}`}
{title && (left > 1) && `Треков в очереди: ${left}, играет ${title}`}
{title && !(left > 1) && `Играет: ${title}`}
</span>
</div>
</>
Expand Down

0 comments on commit 9b34e08

Please sign in to comment.