Compare commits

..

3 Commits

Author SHA1 Message Date
e690201947 Merge pull request 'use new cover structure for radios' (#20) from dev into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Reviewed-on: #20
2023-09-22 14:17:39 +02:00
Artem Anufrij
1097c6aa3d use new object structure for radio covers
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-09-22 14:16:39 +02:00
6b9d73492b Merge pull request 'main' (#19) from main into dev
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #19
2023-09-22 14:13:12 +02:00
3 changed files with 6 additions and 6 deletions

View File

@ -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;
} }

View File

@ -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;
}, },

View File

@ -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;
}, },