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

merge-requests/154/head
Eliot Berriot 2018-02-18 15:08:18 +01:00
rodzic 9a69a8f581
commit f6a4e4b7a3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
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
}
},