u
This commit is contained in:
@@ -155,7 +155,7 @@ const actions = {
|
||||
*/
|
||||
async addImage(id, file) {
|
||||
const res = await brandApi.addImage(id, file);
|
||||
await brandAutomat.actions.load();
|
||||
await brandAutomat.actions.reload();
|
||||
return res.brand;
|
||||
},
|
||||
|
||||
@@ -165,7 +165,7 @@ const actions = {
|
||||
*/
|
||||
async deleteImage(id) {
|
||||
const res = await brandApi.deleteImage(id);
|
||||
await brandAutomat.actions.load();
|
||||
await brandAutomat.actions.reload();
|
||||
return res.brand;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user