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