impress/app/javascript/wardrobe-2020/loaders
Emi Matchu 56d550e86c Skip loading alt styles on item preview page
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!
2024-02-24 17:23:57 -08:00
..
alt-styles.js Skip loading alt styles on item preview page 2024-02-24 17:23:57 -08:00
items.js Oops, fix species name in zones tooltip 2023-11-11 11:57:43 -08:00
outfits.js Oops, add some more wiring for pet state ID for saved outfits 2024-02-08 10:15:31 -08:00