Now reset player colors when track has no coverNow reset player colors when track has no cover

This commit is contained in:
Eliot Berriot 2018-02-18 15:08:18 +01:00
parent 9a69a8f581
commit f6a4e4b7a3
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ Changelog
0.5 (Unreleased)
----------------
- Front: Now reset player colors when track has no cover (#46)
0.4 (2018-02-18)
----------------

View File

@ -232,7 +232,7 @@ export default {
},
watch: {
currentTrack (newValue) {
if (!newValue) {
if (!newValue || !newValue.album.cover) {
this.ambiantColors = this.defaultAmbiantColors
}
},