Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Eager load asset transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
alecritson committed Feb 28, 2019
1 parent 0bd19de commit 7ed8782
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
loadCategory(id) {
apiRequest.send('get', '/categories/' + this.categoryId, {}, {
full_response: true,
includes: 'channels,layout,assets,assets.tags,children,parent,attributes.group.attributes,customerGroups,routes,products,children.products'
includes: 'channels,layout,assets.transforms,assets.tags,children,parent,attributes.group.attributes,customerGroups,routes,products,children.products'
}).then(response => {
this.decorate(response.data);
document.title = this.$options.filters.attribute(this.category, 'name') + ' Category - GetCandy';
Expand Down

0 comments on commit 7ed8782

Please sign in to comment.