From 4b266c47389fb98405cb634a6e5841e45ea9b285 Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Fri, 22 Sep 2023 14:59:31 +0200 Subject: [PATCH] fix radio cover in histroy item --- src/components/Player.vue | 2 +- src/store/modules/radios/state.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Player.vue b/src/components/Player.vue index 76d9e92..289f029 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -124,7 +124,7 @@ export default { let item = { id: this.selectedRadio._id, - cover128: this.selectedRadio.cover128, + covers: { cover128: this.selectedRadio.covers.cover128 }, name: this.selectedRadio.name, type: "radio", }; diff --git a/src/store/modules/radios/state.js b/src/store/modules/radios/state.js index 1626d4f..eebccdb 100644 --- a/src/store/modules/radios/state.js +++ b/src/store/modules/radios/state.js @@ -1,4 +1,4 @@ export default { collection: [], - selectedRadio: {}, + selectedRadio: { covers: {} }, } \ No newline at end of file -- 2.45.2