Compare commits

..

4 Commits

Author SHA1 Message Date
82b77876a8 Merge branch 'dev' into main
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-09-22 14:10:52 +02:00
Artem Anufrij
5ca85841e7 undo last changes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-09-22 14:10:13 +02:00
Artem Anufrij
8c651108c4 switch to new cover property
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2023-09-22 14:04:22 +02:00
Artem Anufrij
d44176f86c change cover structure for radio fix #15
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-21 11:11:54 +02:00

View File

@ -44,9 +44,7 @@ export default {
let h = context.rootGetters.headers; let h = context.rootGetters.headers;
h.headers["content-type"] = "multipart/form-data"; h.headers["content-type"] = "multipart/form-data";
axios.put(context.rootGetters.server + "/api/radios/" + radio._id + "/cover", formData, h).then((res) => { axios.put(context.rootGetters.server + "/api/radios/" + radio._id + "/cover", formData, h).then((res) => {
radio.cover32 = res.data.cover32; radio.covers = res.data.covers;
radio.cover64 = res.data.cover64;
radio.cover128 = res.data.cover128;
context.dispatch("loadRadios", true); context.dispatch("loadRadios", true);
}); });
} }