u
This commit is contained in:
@@ -447,10 +447,10 @@ class ArtikelKategorienPage extends PureComponent {
|
||||
const file = e.target.files?.[0];
|
||||
if (!file) return;
|
||||
try {
|
||||
const avifFile = await prepareArticlePhoto(file);
|
||||
const webpFile = await prepareArticlePhoto(file);
|
||||
await categoryAutomat.actions.uploadCategoryImage({
|
||||
categoryId: item.id,
|
||||
file: avifFile,
|
||||
file: webpFile,
|
||||
});
|
||||
} catch (err) {
|
||||
notifyError(err);
|
||||
|
||||
Reference in New Issue
Block a user