This commit is contained in:
seb
2026-10-16 04:12:18 +02:00
parent ff165799d4
commit 7bc1da4de6

View File

@@ -117,7 +117,7 @@ class ManifestFormLine extends PureComponent {
this.unsubSupplier = supKey.subscribe(this, (item) => ({ this.unsubSupplier = supKey.subscribe(this, (item) => ({
fallbackSuppliers: Array.isArray(item?.data) ? item.data : [], fallbackSuppliers: Array.isArray(item?.data) ? item.data : [],
})); }));
void articleSupplierAutomat.load(sku).catch(() => {}); void articleSupplierAutomat.load(sku).catch(() => { });
} }
} }
@@ -999,32 +999,28 @@ class ManifestFormLine extends PureComponent {
<Box sx={{ display: 'flex', alignItems: 'center', gap: 0.25 }}> <Box sx={{ display: 'flex', alignItems: 'center', gap: 0.25 }}>
{this.props.onMove && ( {this.props.onMove && (
<> <>
<Tooltip title="Nach oben"> <span>
<span> <IconButton
<IconButton size="small"
size="small" aria-label="Nach oben verschieben"
aria-label="Nach oben verschieben" disabled={saving || this.props.isFirstLine}
disabled={saving || this.props.isFirstLine} onClick={this.handleMoveUp}
onClick={this.handleMoveUp} sx={{ p: 0.35 }}
sx={{ p: 0.35 }} >
> <ArrowUpwardIcon sx={{ fontSize: 16 }} />
<ArrowUpwardIcon sx={{ fontSize: 16 }} /> </IconButton>
</IconButton> </span>
</span> <span>
</Tooltip> <IconButton
<Tooltip title="Nach unten"> size="small"
<span> aria-label="Nach unten verschieben"
<IconButton disabled={saving || this.props.isLastLine}
size="small" onClick={this.handleMoveDown}
aria-label="Nach unten verschieben" sx={{ p: 0.35 }}
disabled={saving || this.props.isLastLine} >
onClick={this.handleMoveDown} <ArrowDownwardIcon sx={{ fontSize: 16 }} />
sx={{ p: 0.35 }} </IconButton>
> </span>
<ArrowDownwardIcon sx={{ fontSize: 16 }} />
</IconButton>
</span>
</Tooltip>
</> </>
)} )}
<IconButton <IconButton