This commit is contained in:
seb
2026-09-29 13:45:13 +02:00
parent 4cb050c285
commit 43e1ab98b7
7 changed files with 193 additions and 91 deletions

View File

@@ -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);