diff --git a/CHANGELOG b/CHANGELOG index 2d005e1a36b0cbca335ee63d9d4ccb70d2381d6e..03665014f01d21304efe339f5442290dcf3b6d3a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,7 @@ Changelog 0.5 (Unreleased) ---------------- +- Front: Now reset player colors when track has no cover (#46) 0.4 (2018-02-18) ---------------- diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue index e44a92d4fe09c054ae2ffae43c780371769f270c..5e9965158c7a50ada134f51774f046344810ddd2 100644 --- a/front/src/components/audio/Player.vue +++ b/front/src/components/audio/Player.vue @@ -232,7 +232,7 @@ export default { }, watch: { currentTrack (newValue) { - if (!newValue) { + if (!newValue || !newValue.album.cover) { this.ambiantColors = this.defaultAmbiantColors } },