From 27f441df3638df55b9c42bda9a81c92aee0f3b94 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 9 Feb 2021 22:56:10 -0800 Subject: [PATCH] Don't show "item needs models" for invalid pets --- src/app/ItemPage.js | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/src/app/ItemPage.js b/src/app/ItemPage.js index 2ee1af0..bcf542d 100644 --- a/src/app/ItemPage.js +++ b/src/app/ItemPage.js @@ -760,22 +760,25 @@ function ItemPageOutfitPreview({ itemId }) { { // Wait for us to start _requesting_ the appearance, and _then_ // for it to load, and _then_ check compatibility. - !loadingGQL && !appearance.loading && !isCompatible && ( - - - - ) + !loadingGQL && + !appearance.loading && + petState.isValid && + !isCompatible && ( + + + + ) }