From 5c6615ab8b6ff309f6e4e65b1877103527d12c48 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Fri, 20 Jan 2017 10:15:38 +1300 Subject: [PATCH] Fixing incorrect key on playlist update --- src/js/services/ui/reducer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/services/ui/reducer.js b/src/js/services/ui/reducer.js index b3c87013..2a734945 100755 --- a/src/js/services/ui/reducer.js +++ b/src/js/services/ui/reducer.js @@ -378,7 +378,7 @@ export default function reducer(ui = {}, action){ for (var i = 0; i < action.playlists.length; i++){ var playlist = action.playlists[i] if (typeof(playlists[playlist.uri]) !== 'undefined'){ - artist = Object.assign({}, playlists[playlist.uri], playlist) + playlist = Object.assign({}, playlists[playlist.uri], playlist) } playlists[playlist.uri] = playlist }