Skip to content

Commit

Permalink
fix(admin-ui): Fix auto-rename of variants when product is renamed
Browse files Browse the repository at this point in the history
Closes #2579
  • Loading branch information
michaelbromley committed Jan 12, 2024
1 parent 913e6d8 commit 65aced6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,7 @@ export class ProductDetailComponent
return this.productDetailService.updateProduct({
product,
languageCode,
autoUpdate:
this.detailForm.get(['product', 'autoUpdateVariantNames'])?.value ?? false,
autoUpdate: this.detailForm.get(['autoUpdateVariantNames'])?.value ?? false,
productInput,
variantsInput,
});
Expand Down

0 comments on commit 65aced6

Please sign in to comment.