Skip to content

Commit 561ffb8

Browse files
committed
Remove unused assignment
1 parent a40d8ca commit 561ffb8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Umbraco.Cms.Integrations.Commerce.Shopify/Client/src/property-editor/shopify-product-picker-property-editor.element.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ export class ShopifyProductPickerPropertyEditor extends UmbLitElement implements
122122
}
123123

124124
deleteProduct(id: number) {
125-
var index = this.products.map(p => p.id).indexOf(id);
126125
this.products = this.products.filter(product => product.id != id);
127126
this.value = JSON.stringify(this.products.map(product => product.id));
128127
this.dispatchEvent(new CustomEvent('property-value-change'));

0 commit comments

Comments
 (0)