|
@@ -1,7 +1,7 @@
|
|
|
import { Component, Input, OnInit } from '@angular/core';
|
|
import { Component, Input, OnInit } from '@angular/core';
|
|
|
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
|
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
|
|
import {
|
|
import {
|
|
|
- LogicalOperator,
|
|
|
|
|
|
|
+ DataTableLocationId,
|
|
|
ProductVariantListQueryDocument,
|
|
ProductVariantListQueryDocument,
|
|
|
TypedBaseListComponent,
|
|
TypedBaseListComponent,
|
|
|
} from '@vendure/admin-ui/core';
|
|
} from '@vendure/admin-ui/core';
|
|
@@ -17,6 +17,7 @@ export class ProductVariantListComponent
|
|
|
{
|
|
{
|
|
|
@Input() productId?: string;
|
|
@Input() productId?: string;
|
|
|
@Input() hideLanguageSelect = false;
|
|
@Input() hideLanguageSelect = false;
|
|
|
|
|
+ @Input() dataTableId: DataTableLocationId | undefined;
|
|
|
readonly customFields = this.getCustomFieldConfig('ProductVariant');
|
|
readonly customFields = this.getCustomFieldConfig('ProductVariant');
|
|
|
readonly filters = this.createFilterCollection()
|
|
readonly filters = this.createFilterCollection()
|
|
|
.addIdFilter()
|
|
.addIdFilter()
|