Skip to content

Commit 2a904d5

Browse files
committed
Fix wrong estimation of remaining time
1 parent 69d54c8 commit 2a904d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jsx/components/playlistApp/PlaylistInfoBar.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ class PlaylistInfoBar extends Component {
6464
* well together. At least, the code is easy to understand.
6565
*/
6666

67-
const playlistEndDate = dateEnd && count ? dayjs(dateEnd) : null
67+
const playlistEndDate = dateEnd &&
68+
(count || playerStatus.playlist_entry) ? dayjs(dateEnd) : null
6869
const karaokeEndDate = dateStop ? dayjs(dateStop) : null
6970

7071
let dateEndWidget

0 commit comments

Comments
 (0)