diff --git a/src/components/article/boxes/ArticleViewStock.jsx b/src/components/article/boxes/ArticleViewStock.jsx index bcc9712..6a4da4c 100644 --- a/src/components/article/boxes/ArticleViewStock.jsx +++ b/src/components/article/boxes/ArticleViewStock.jsx @@ -131,7 +131,7 @@ export default class ArticleViewStock extends PureComponent { if (!Array.isArray(children)) return; for (const child of children) { if (child?.sku && !getArticle(child.sku)) { - void artikelAutomat.actions.loadArticle(child.sku).catch(() => {}); + void artikelAutomat.actions.loadArticle(child.sku).catch(() => { }); } } } @@ -215,10 +215,10 @@ export default class ArticleViewStock extends PureComponent { isParent || isStueckliste ? null : { - label: 'Bestand anpassen', - icon: EditOutlinedIcon, - onClick: this.handleOpenAdjust, - } + label: 'Bestand anpassen', + icon: EditOutlinedIcon, + onClick: this.handleOpenAdjust, + } } > - {hasIncoming ? ( - - Lagerorte - - ) : null} {warehouses.map((wh) => ( - - Im Zulauf - {incomingItems.map((inc, idx) => { const dateLabel = inc.date ? formatDate(inc.date) : null; const label = [