Compare commits
2 Commits
18fa62514a
...
b9abe8ec55
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9abe8ec55 | ||
|
|
3d571a988a |
@@ -118,6 +118,7 @@ class CategoryNameDialog extends Component {
|
|||||||
(mode !== 'edit' || name.trim() !== (this.props.initialName ?? '').trim());
|
(mode !== 'edit' || name.trim() !== (this.props.initialName ?? '').trim());
|
||||||
const bulkNames = parseBulkNames(bulkText);
|
const bulkNames = parseBulkNames(bulkText);
|
||||||
const canSubmitBulk = bulkNames.length > 0;
|
const canSubmitBulk = bulkNames.length > 0;
|
||||||
|
const canBulk = mode === 'create';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AppDialog open={open} onClose={this.handleClose} maxWidth="xs" fullWidth>
|
<AppDialog open={open} onClose={this.handleClose} maxWidth="xs" fullWidth>
|
||||||
|
|||||||
@@ -121,7 +121,6 @@ class ResultRow extends Component {
|
|||||||
onMouseDown={(e) => e.preventDefault()}
|
onMouseDown={(e) => e.preventDefault()}
|
||||||
onClick={() => onOpenArticle?.(row)}
|
onClick={() => onOpenArticle?.(row)}
|
||||||
sx={resultRowSx}
|
sx={resultRowSx}
|
||||||
title={row.sku}
|
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
@@ -154,6 +153,13 @@ class ResultRow extends Component {
|
|||||||
>
|
>
|
||||||
{formatStock(row.stock)}
|
{formatStock(row.stock)}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
<Typography
|
||||||
|
variant="body2"
|
||||||
|
color="text.secondary"
|
||||||
|
sx={{ ...resultCellSx, minWidth: 84 }}
|
||||||
|
>
|
||||||
|
{row.sku}
|
||||||
|
</Typography>
|
||||||
{row.categories ? (
|
{row.categories ? (
|
||||||
<Typography
|
<Typography
|
||||||
variant="body2"
|
variant="body2"
|
||||||
|
|||||||
Reference in New Issue
Block a user