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

Now reset player colors when track has no cover

See merge request funkwhale/funkwhale!46
merge-requests/154/head
Eliot Berriot 2018-02-18 14:11:35 +00:00
commit 1cfe56fd2a
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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