Skip to content

Commit

Permalink
fix(admin-ui): Fix updating product variant asset
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jun 30, 2023
1 parent b5947ec commit b590bdd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ export class ProductVariantDetailComponent
'trackInventory',
'outOfStockThreshold',
'useGlobalOutOfStockThreshold',
'stockOnHand',
'customFields',
],
) as UpdateProductVariantInput;
Expand Down Expand Up @@ -276,7 +275,7 @@ export class ProductVariantDetailComponent
}

assetsChanged(): boolean {
return false;
return !!Object.values(this.assetChanges).length;
}

inventoryIsNotTracked(formGroup: UntypedFormGroup): boolean {
Expand Down

0 comments on commit b590bdd

Please sign in to comment.