Skip to content

Commit

Permalink
fix(admin-ui): Fix error on new product creation
Browse files Browse the repository at this point in the history
Fixes #2915
  • Loading branch information
michaelbromley committed Jun 21, 2024
1 parent 2d2e518 commit b06bdaf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, ElementRef, EventEmitter, OnInit, Output, QueryList, ViewChildren } from '@angular/core';
import { AbstractControl, FormArray, FormBuilder, FormControl, FormGroup } from '@angular/forms';
import { AbstractControl, FormBuilder, FormControl, FormGroup } from '@angular/forms';
import {
CurrencyCode,
DataService,
Expand Down Expand Up @@ -70,6 +70,7 @@ export class GenerateProductVariantsComponent implements OnInit {
tap(items => {
if (items.length) {
this.selectedStockLocationId = items[0].id;
this.onFormChange();
}
}),
);
Expand Down

0 comments on commit b06bdaf

Please sign in to comment.