Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove 0 node

dominik-zeglen6e8def891ff9
diff --git a/saleor/static/dashboard-next/attributes/views/AttributeCreate/AttributeCreate.tsx b/saleor/static/dashboard-next/attributes/views/AttributeCreate/AttributeCreate.tsx
index a1f2e9c83f..f1a0c3499f 100644
--- a/saleor/static/dashboard-next/attributes/views/AttributeCreate/AttributeCreate.tsx
+++ b/saleor/static/dashboard-next/attributes/views/AttributeCreate/AttributeCreate.tsx
@@ -133,7 +133,7 @@ const AttributeDetails: React.FC<AttributeDetailsProps> = ({ params }) => {
onClose={closeModal}
onSubmit={handleValueCreate}
/>
- {values.length && (
+ {values.length > 0 && (
<>
<AttributeValueDeleteDialog
attributeName={undefined}