Skip to content
Snippets Groups Projects
Commit 1cfe56fd authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'reset-ambiant-color-no-cover' into 'develop'

Now reset player colors when track has no cover

See merge request funkwhale/funkwhale!46
parents 9a69a8f5 f6a4e4b7
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ Changelog ...@@ -5,6 +5,7 @@ Changelog
0.5 (Unreleased) 0.5 (Unreleased)
---------------- ----------------
- Front: Now reset player colors when track has no cover (#46)
0.4 (2018-02-18) 0.4 (2018-02-18)
---------------- ----------------
......
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
}, },
watch: { watch: {
currentTrack (newValue) { currentTrack (newValue) {
if (!newValue) { if (!newValue || !newValue.album.cover) {
this.ambiantColors = this.defaultAmbiantColors this.ambiantColors = this.defaultAmbiantColors
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment