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,6 +125,7 @@ const ProductTypeAttributes: React.FC<ProductTypeAttributesProps> = props => {
|
||||||
<col className={classes.colSlug} />
|
<col className={classes.colSlug} />
|
||||||
<col className={classes.colAction} />
|
<col className={classes.colAction} />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
|
{attributes?.length > 0 && (
|
||||||
<TableHead
|
<TableHead
|
||||||
colSpan={numberOfColumns}
|
colSpan={numberOfColumns}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
@ -145,6 +146,7 @@ const ProductTypeAttributes: React.FC<ProductTypeAttributesProps> = props => {
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell />
|
<TableCell />
|
||||||
</TableHead>
|
</TableHead>
|
||||||
|
)}
|
||||||
<SortableTableBody onSortEnd={onAttributeReorder}>
|
<SortableTableBody onSortEnd={onAttributeReorder}>
|
||||||
{renderCollection(
|
{renderCollection(
|
||||||
attributes,
|
attributes,
|
||||||
|
|
Loading…
Reference in a new issue