Fix UC outfit images

Oops, I wasn't requesting `bodyId` for item layers, so the check for `layer.bodyId !== "0"` was always true—because it was always `undefined`, even when it should have been `"0"`.

This wasn't an issue on the client, because the client _does_ request `bodyId` for caching item appearances between pets of the same body, and I didn't realize that it needs to be part of this fragment too!
This commit is contained in:
Emi Matchu 2021-05-25 17:02:29 -07:00
parent e829cc5525
commit 5cab2c87c4

View file

@ -99,6 +99,7 @@ export const itemAppearanceFragmentForGetVisibleLayers = gql`
id
layers {
id
bodyId
zone {
id
depth