Skip to content

Commit

Permalink
Fix typo in last played calculation (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
chvp authored Nov 20, 2021
1 parent ff247ea commit 64d13b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/plays.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default {
};
} else if (
result[album_id].last_played_at <
getters.playStatsByTrack[track_id].plast_layed_at
getters.playStatsByTrack[track_id].last_played_at
) {
result[album_id].last_played_at =
getters.playStatsByTrack[track_id].last_played_at;
Expand All @@ -133,7 +133,7 @@ export default {
getters.playStatsByTrack[track_id].count;
if (
result[ta.artist_id].last_played_at <
getters.playStatsByTrack[track_id].plast_layed_at
getters.playStatsByTrack[track_id].last_played_at
) {
result[ta.artist_id].last_played_at =
getters.playStatsByTrack[track_id].last_played_at;
Expand Down

0 comments on commit 64d13b6

Please sign in to comment.