forked from OpenNeo/impress
Ah yeah, if you're not on the wardrobe page (so we don't need the Alt Styles UI), and the outfit's `altStyleId` is null (as is the case for the item preview page), then there's no need to load the alt styles for that species. So before this change, going to `/items/123` would include an XHR request to `/species/<id>/alt-styles.json`, which would not be used for anything. After this change, that request is no longer sent. Hooray! |
||
|---|---|---|
| .. | ||
| components | ||
| images | ||
| ItemPage | ||
| loaders | ||
| WardrobePage | ||
| apolloClient.js | ||
| AppProvider.js | ||
| impress-2020-config.js | ||
| index.js | ||
| ItemPageOutfitPreview.js | ||
| util.js | ||