Fix crashing attribute value creation
This commit is contained in:
parent
b1791b6277
commit
a6ce67b6c9
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ const AttributeDetails: React.FC<AttributeDetailsProps> = ({ params }) => {
|
||||||
<AttributeValueDeleteDialog
|
<AttributeValueDeleteDialog
|
||||||
attributeName={undefined}
|
attributeName={undefined}
|
||||||
open={params.action === "remove-value"}
|
open={params.action === "remove-value"}
|
||||||
name={getStringOrPlaceholder(values[id].name)}
|
name={getStringOrPlaceholder(values[id]?.name)}
|
||||||
confirmButtonState="default"
|
confirmButtonState="default"
|
||||||
onClose={closeModal}
|
onClose={closeModal}
|
||||||
onConfirm={handleValueDelete}
|
onConfirm={handleValueDelete}
|
||||||
|
|
Loading…
Reference in a new issue