Fix style of product type attributes empty table
This commit is contained in:
parent
769f30e135
commit
5adcc77e14
1 changed files with 22 additions and 20 deletions
|
@ -125,26 +125,28 @@ const ProductTypeAttributes: React.FC<ProductTypeAttributesProps> = props => {
|
||||||
<col className={classes.colSlug} />
|
<col className={classes.colSlug} />
|
||||||
<col className={classes.colAction} />
|
<col className={classes.colAction} />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<TableHead
|
{attributes?.length > 0 && (
|
||||||
colSpan={numberOfColumns}
|
<TableHead
|
||||||
disabled={disabled}
|
colSpan={numberOfColumns}
|
||||||
dragRows
|
disabled={disabled}
|
||||||
selected={selected}
|
dragRows
|
||||||
items={attributes}
|
selected={selected}
|
||||||
toggleAll={toggleAll}
|
items={attributes}
|
||||||
toolbar={toolbar}
|
toggleAll={toggleAll}
|
||||||
>
|
toolbar={toolbar}
|
||||||
<TableCell className={classes.colName}>
|
>
|
||||||
<FormattedMessage defaultMessage="Attribute name" />
|
<TableCell className={classes.colName}>
|
||||||
</TableCell>
|
<FormattedMessage defaultMessage="Attribute name" />
|
||||||
<TableCell className={classes.colName}>
|
</TableCell>
|
||||||
<FormattedMessage
|
<TableCell className={classes.colName}>
|
||||||
defaultMessage="Slug"
|
<FormattedMessage
|
||||||
description="attribute internal name"
|
defaultMessage="Slug"
|
||||||
/>
|
description="attribute internal name"
|
||||||
</TableCell>
|
/>
|
||||||
<TableCell />
|
</TableCell>
|
||||||
</TableHead>
|
<TableCell />
|
||||||
|
</TableHead>
|
||||||
|
)}
|
||||||
<SortableTableBody onSortEnd={onAttributeReorder}>
|
<SortableTableBody onSortEnd={onAttributeReorder}>
|
||||||
{renderCollection(
|
{renderCollection(
|
||||||
attributes,
|
attributes,
|
||||||
|
|
Loading…
Reference in a new issue