This commit is contained in:
seb
2026-10-17 18:38:15 +02:00
parent 45c1067d9f
commit 7080382f56

View File

@@ -267,7 +267,6 @@ class DeliveryRow extends Component {
{totalPositions === 0 ? ( {totalPositions === 0 ? (
<Typography variant="body2" color="text.secondary">0</Typography> <Typography variant="body2" color="text.secondary">0</Typography>
) : unbooked === 0 ? ( ) : unbooked === 0 ? (
<Tooltip title={`Alle ${totalPositions} Positionen vollständig ins Lager gebucht`}>
<Chip <Chip
size="small" size="small"
icon={<CheckCircleOutlineOutlinedIcon sx={{ '&&': { fontSize: 16 } }} />} icon={<CheckCircleOutlineOutlinedIcon sx={{ '&&': { fontSize: 16 } }} />}
@@ -277,10 +276,8 @@ class DeliveryRow extends Component {
onClick={() => onOpenBookDialog?.(delivery)} onClick={() => onOpenBookDialog?.(delivery)}
sx={{ fontWeight: 600, cursor: 'pointer' }} sx={{ fontWeight: 600, cursor: 'pointer' }}
/> />
</Tooltip>
) : ( ) : (
<> <>
<Tooltip title={`${unbooked} von ${totalPositions} Positionen noch ungebucht`}>
<Chip <Chip
size="small" size="small"
icon={<Inventory2OutlinedIcon sx={{ '&&': { fontSize: 16 } }} />} icon={<Inventory2OutlinedIcon sx={{ '&&': { fontSize: 16 } }} />}
@@ -290,7 +287,6 @@ class DeliveryRow extends Component {
onClick={() => onOpenBookDialog?.(delivery)} onClick={() => onOpenBookDialog?.(delivery)}
sx={{ fontWeight: 600, cursor: 'pointer' }} sx={{ fontWeight: 600, cursor: 'pointer' }}
/> />
</Tooltip>
<Button <Button
size="small" size="small"
variant="contained" variant="contained"
@@ -606,7 +602,6 @@ class DeliverySearchField extends PureComponent {
</Box> </Box>
{import.meta.env.DEV && ( {import.meta.env.DEV && (
<Tooltip title={`Chunk-Cache-Monitor öffnen (Alt+Shift+C) — ${this.state.lruChunksCount || 0}/${this.state.maxLruChunks || 50} Chunks im RAM über ${this.state.filterCachesCount || 1} Filter`}>
<Chip <Chip
size="small" size="small"
icon={<ViewModuleIcon sx={{ fontSize: 16 }} />} icon={<ViewModuleIcon sx={{ fontSize: 16 }} />}
@@ -622,7 +617,6 @@ class DeliverySearchField extends PureComponent {
'&:hover': { bgcolor: 'action.hover' }, '&:hover': { bgcolor: 'action.hover' },
}} }}
/> />
</Tooltip>
)} )}
</Box> </Box>
</Box> </Box>
@@ -676,7 +670,7 @@ export class DeliveryList extends PureComponent {
this.headerItem = createDummyTestDelivery(); this.headerItem = createDummyTestDelivery();
this.forceUpdate(); this.forceUpdate();
}); });
void numberAutomat.actions.ensureLoaded().catch(() => {}); void numberAutomat.actions.ensureLoaded().catch(() => { });
void this.loadSuppliers(); void this.loadSuppliers();
} }
@@ -711,7 +705,7 @@ export class DeliveryList extends PureComponent {
} }
handleRetry() { handleRetry() {
void deliveryAutomat.actions.requireChunk(0, 0, { immediate: true }).catch(() => {}); void deliveryAutomat.actions.requireChunk(0, 0, { immediate: true }).catch(() => { });
} }
handleCreate() { handleCreate() {