|
|
@@ -1,4 +1,4 @@
|
|
|
-import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';
|
|
|
+import { ChangeDetectionStrategy, Component, OnDestroy, OnInit } from '@angular/core';
|
|
|
import { FormArray, FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
|
import { combineLatest, forkJoin, Observable, Subject } from 'rxjs';
|
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
UpdateProductVariantInput,
|
|
|
} from '../../../data/types/gql-generated-types';
|
|
|
import { ModalService } from '../../../shared/providers/modal/modal.service';
|
|
|
-import { ProductVariantsWizardComponent } from '../product-variants-wizard/product-variants-wizard.component';
|
|
|
|
|
|
@Component({
|
|
|
selector: 'vdr-product-detail',
|
|
|
templateUrl: './product-detail.component.html',
|
|
|
styleUrls: ['./product-detail.component.scss'],
|
|
|
+ changeDetection: ChangeDetectionStrategy.OnPush,
|
|
|
})
|
|
|
export class ProductDetailComponent implements OnInit, OnDestroy {
|
|
|
product$: Observable<ProductWithVariants>;
|