Merge branch 'reset-ambiant-color-no-cover' into 'develop'
Now reset player colors when track has no cover See merge request funkwhale/funkwhale!46
This commit is contained in:
commit
1cfe56fd2a
|
@ -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 {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
currentTrack (newValue) {
|
currentTrack (newValue) {
|
||||||
if (!newValue) {
|
if (!newValue || !newValue.album.cover) {
|
||||||
this.ambiantColors = this.defaultAmbiantColors
|
this.ambiantColors = this.defaultAmbiantColors
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue