Merge pull request 'use new cover structure for radios' (#20) from dev into main
Reviewed-on: #20
This commit is contained in:
commit
e690201947
@ -312,8 +312,8 @@ export default {
|
|||||||
|
|
||||||
if (this.selectedRadio) {
|
if (this.selectedRadio) {
|
||||||
let res = "/static/icons/dummy/radio.svg";
|
let res = "/static/icons/dummy/radio.svg";
|
||||||
if (this.selectedRadio.cover64) {
|
if (this.selectedRadio.covers.cover64) {
|
||||||
res = this.selectedRadio.cover64;
|
res = this.selectedRadio.covers.cover64;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,8 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
cover() {
|
cover() {
|
||||||
let res = "/static/icons/dummy/radio.svg";
|
let res = "/static/icons/dummy/radio.svg";
|
||||||
if (this.item && this.item.cover128) {
|
if (this.item && this.item.covers.cover128) {
|
||||||
res = this.item.cover128;
|
res = this.item.covers.cover128;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
},
|
},
|
||||||
|
@ -118,8 +118,8 @@ export default {
|
|||||||
},
|
},
|
||||||
cover(radio) {
|
cover(radio) {
|
||||||
let res = "/static/icons/dummy/radio.svg";
|
let res = "/static/icons/dummy/radio.svg";
|
||||||
if (radio.cover32) {
|
if (radio.covers.cover32) {
|
||||||
res = radio.cover32;
|
res = radio.covers.cover32;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user