impress/app/javascript/wardrobe-2020
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
..
components Skip rendering layers without a usable image 2024-02-01 08:55:42 -08:00
images Use hourglass icon for Retired UCs 2024-02-01 06:48:40 -08:00
ItemPage Load item compatibility data from the Rails app, not impress-2020 2023-11-11 08:15:10 -08:00
loaders Skip loading alt styles on item preview page 2024-02-24 17:23:57 -08:00
WardrobePage Oops, add some more wiring for pet state ID for saved outfits 2024-02-08 10:15:31 -08:00
apolloClient.js Filter by Alt Style in item search and item appearance API calls 2024-02-01 04:58:30 -08:00
AppProvider.js Remove unused initialCacheState code from wardrobe-2020 2023-11-03 18:16:57 -07:00
impress-2020-config.js Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
index.js Remove the item page drawer, just link to the item page instead 2023-11-03 16:56:51 -07:00
ItemPageOutfitPreview.js Oops, fix species name in zones tooltip 2023-11-11 11:57:43 -08:00
util.js Optionally use local instance of impress-2020 during development 2024-01-28 07:00:29 -08:00