Skip to content

Commit

Permalink
fix(admin-ui): Fix updating variant tax category
Browse files Browse the repository at this point in the history
Fixes #2336
  • Loading branch information
michaelbromley committed Aug 7, 2023
1 parent ef357cd commit ff29e9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ export class ProductVariantDetailComponent
.pipe(
take(1),
mergeMap(([variant, languageCode]) => {
const formValue = this.detailForm.value;
const input = pick(
this.getUpdatedVariant(
variant,
Expand Down Expand Up @@ -400,6 +399,7 @@ export class ProductVariantDetailComponent
assetIds: this.assetChanges.assets?.map(a => a.id),
featuredAssetId: this.assetChanges.featuredAsset?.id,
facetValueIds: variantFormGroup.value.facetValueIds,
taxCategoryId: variantFormGroup.value.taxCategoryId,
} as UpdateProductVariantInput | CreateProductVariantInput;
}
}

0 comments on commit ff29e9a

Please sign in to comment.