Skip to content

Commit

Permalink
fix(admin-ui): Add support for custom fields on CustomerGroup list
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Oct 4, 2024
1 parent 9d7744b commit 7128a33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
</a>
</ng-template>
</vdr-dt2-column>
<vdr-dt2-custom-field-column *ngFor="let field of customFields" [customField]="field" [sorts]="sorts" />
<vdr-dt2-column
[heading]="'common.view-contents' | translate" id="view-contents"
[optional]="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export class CustomerGroupListComponent
extends TypedBaseListComponent<typeof GetCustomerGroupListDocument, 'customerGroups'>
implements OnInit
{
readonly customFields = this.getCustomFieldConfig('CustomerGroup');
activeGroup$: Observable<ItemOf<GetCustomerGroupsQuery, 'customerGroups'> | undefined>;
activeIndex$: Observable<number>;
listIsEmpty$: Observable<boolean>;
Expand Down

1 comment on commit 7128a33

@oidt
Copy link
Contributor

@oidt oidt commented on 7128a33 Oct 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.