Compare commits
No commits in common. "82b77876a8024dfc196a9304ab727a955bc9abb5" and "0a78c4ee19d73cfcb9cbb8e001e3476bc69f92da" have entirely different histories.
82b77876a8
...
0a78c4ee19
@ -44,7 +44,9 @@ export default {
|
||||
let h = context.rootGetters.headers;
|
||||
h.headers["content-type"] = "multipart/form-data";
|
||||
axios.put(context.rootGetters.server + "/api/radios/" + radio._id + "/cover", formData, h).then((res) => {
|
||||
radio.covers = res.data.covers;
|
||||
radio.cover32 = res.data.cover32;
|
||||
radio.cover64 = res.data.cover64;
|
||||
radio.cover128 = res.data.cover128;
|
||||
context.dispatch("loadRadios", true);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user