Don't show "item needs models" for invalid pets
This commit is contained in:
parent
4aade5782f
commit
27f441df36
1 changed files with 19 additions and 16 deletions
|
@ -760,22 +760,25 @@ function ItemPageOutfitPreview({ itemId }) {
|
||||||
{
|
{
|
||||||
// Wait for us to start _requesting_ the appearance, and _then_
|
// Wait for us to start _requesting_ the appearance, and _then_
|
||||||
// for it to load, and _then_ check compatibility.
|
// for it to load, and _then_ check compatibility.
|
||||||
!loadingGQL && !appearance.loading && !isCompatible && (
|
!loadingGQL &&
|
||||||
<Tooltip
|
!appearance.loading &&
|
||||||
label={
|
petState.isValid &&
|
||||||
couldProbablyModelMoreData
|
!isCompatible && (
|
||||||
? "Item needs models"
|
<Tooltip
|
||||||
: "Not compatible"
|
label={
|
||||||
}
|
couldProbablyModelMoreData
|
||||||
placement="top"
|
? "Item needs models"
|
||||||
>
|
: "Not compatible"
|
||||||
<WarningIcon
|
}
|
||||||
color={errorColor}
|
placement="top"
|
||||||
transition="color 0.2"
|
>
|
||||||
marginLeft="2"
|
<WarningIcon
|
||||||
/>
|
color={errorColor}
|
||||||
</Tooltip>
|
transition="color 0.2"
|
||||||
)
|
marginLeft="2"
|
||||||
|
/>
|
||||||
|
</Tooltip>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
Loading…
Reference in a new issue