@vendure/admin-ui 3.7.2-master-202607290305 → 3.7.2-master-202607310306

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- export declare const ADMIN_UI_VERSION = "3.7.2-master-202607290305";
1
+ export declare const ADMIN_UI_VERSION = "3.7.2-master-202607310306";
@@ -4224,7 +4224,10 @@ class ProductVariantDetailComponent extends TypedBaseDetailComponent {
4224
4224
  });
4225
4225
  this.taxCategories$ = this.result$.pipe(map(data => data.taxCategories.items));
4226
4226
  const availableCurrencyCodes$ = this.result$.pipe(tap(data => (this.channelDefaultCurrencyCode = data.activeChannel.defaultCurrencyCode)), map(data => data.activeChannel.availableCurrencyCodes));
4227
- this.unusedCurrencyCodes$ = combineLatest(this.pricesForm.valueChanges, availableCurrencyCodes$).pipe(map(([prices, currencyCodes]) => currencyCodes.filter(code => !prices.map(p => p.currencyCode).includes(code))));
4227
+ this.unusedCurrencyCodes$ = combineLatest([
4228
+ this.pricesForm.valueChanges.pipe(startWith(this.pricesForm.value)),
4229
+ availableCurrencyCodes$
4230
+ ]).pipe(map(([prices, currencyCodes]) => currencyCodes.filter(code => !prices.map(p => p.currencyCode).includes(code))));
4228
4231
  const stockLocations$ = this.result$.pipe(map(data => data.stockLocations.items));
4229
4232
  this.unusedStockLocation$ = combineLatest(this.entity$, stockLocations$).pipe(map(([entity, stockLocations]) => {
4230
4233
  const usedIds = entity.stockLevels.map(l => l.stockLocation.id);