update support to use petStateId -> id
This commit is contained in:
parent
10a6eff299
commit
7954c11c74
1 changed files with 2 additions and 3 deletions
|
@ -12,7 +12,6 @@ function PosePickerSupport({ speciesId, colorId }) {
|
||||||
query PosePickerSupport($speciesId: ID!, $colorId: ID!) {
|
query PosePickerSupport($speciesId: ID!, $colorId: ID!) {
|
||||||
petAppearances(speciesId: $speciesId, colorId: $colorId) {
|
petAppearances(speciesId: $speciesId, colorId: $colorId) {
|
||||||
id
|
id
|
||||||
petStateId
|
|
||||||
bodyId
|
bodyId
|
||||||
pose
|
pose
|
||||||
...PetAppearanceForOutfitPreview
|
...PetAppearanceForOutfitPreview
|
||||||
|
@ -44,8 +43,8 @@ function PosePickerSupport({ speciesId, colorId }) {
|
||||||
<Box display="flex" justifyContent="flex-end">
|
<Box display="flex" justifyContent="flex-end">
|
||||||
<Select size="sm" width="auto">
|
<Select size="sm" width="auto">
|
||||||
{data.petAppearances.map((pa) => (
|
{data.petAppearances.map((pa) => (
|
||||||
<option key={pa.petStateId}>
|
<option key={pa.id}>
|
||||||
{POSE_NAMES[pa.pose]} ({pa.petStateId})
|
{POSE_NAMES[pa.pose]} ({pa.id})
|
||||||
</option>
|
</option>
|
||||||
))}
|
))}
|
||||||
</Select>
|
</Select>
|
||||||
|
|
Loading…
Reference in a new issue