From 64d13b68846590268ae1f144f0cb3b42fd8c7104 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 20 Nov 2021 12:35:45 +0100 Subject: [PATCH] Fix typo in last played calculation (#652) --- src/store/plays.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/plays.js b/src/store/plays.js index 774f8298..66f47695 100644 --- a/src/store/plays.js +++ b/src/store/plays.js @@ -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; @@ -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;