fix: check if the selected track equal the track in the progress
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Artem Anufrij
2023-09-19 17:07:16 +02:00
parent 25b9b7b582
commit aad14f6cd5
2 changed files with 5 additions and 3 deletions

View File

@@ -146,7 +146,9 @@ export default {
this.pushHistoryItem();
if (this.currentTrackParent.progress) {
this.skipToSecond(this.currentTrackParent.progress.progress);
if (this.currentTrackParent.progress.id == this.selectedTrack._id) {
this.skipToSecond(this.currentTrackParent.progress.progress);
}
this.currentTrackParent.progress = undefined;
} else {
// Try to fix SAFARI