Update fixtures

This commit is contained in:
dominik-zeglen 2019-09-02 16:32:26 +02:00
parent 79e11d06b7
commit fc9fcdd4a5
2 changed files with 3 additions and 6 deletions

View file

@ -22,16 +22,14 @@ export const attribute: AttributeDetailsFragment = {
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI0", id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI0",
name: "John Doe", name: "John Doe",
slug: "john-doe", slug: "john-doe",
type: AttributeValueType.STRING, type: AttributeValueType.STRING
value: ""
}, },
{ {
__typename: "AttributeValue" as "AttributeValue", __typename: "AttributeValue" as "AttributeValue",
id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI1", id: "UHJvZHVjdEF0dHJpYnV0ZVZhbHVlOjI1",
name: "Milionare Pirate", name: "Milionare Pirate",
slug: "milionare-pirate", slug: "milionare-pirate",
type: AttributeValueType.STRING, type: AttributeValueType.STRING
value: ""
} }
], ],
visibleInStorefront: true visibleInStorefront: true

View file

@ -12,8 +12,7 @@ import Decorator from "../../Decorator";
const props: AttributeValueEditDialogProps = { const props: AttributeValueEditDialogProps = {
attributeValue: { attributeValue: {
...attribute.values[0], ...attribute.values[0],
type: AttributeValueType.STRING, type: AttributeValueType.STRING
value: ""
}, },
confirmButtonState: "default", confirmButtonState: "default",
disabled: false, disabled: false,