From c8d15fa8122bb6c9a0daf11fb16dededa17b2cd6 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 29 Jun 2021 00:10:42 -0700 Subject: [PATCH] Oops, fix bug in pet appearance support! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Right, oops, this logic was saying "Restricts: None" whenever the appearance restricted _zero or one_ zones, lol 😅 --- src/app/WardrobePage/support/PosePickerSupport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/WardrobePage/support/PosePickerSupport.js b/src/app/WardrobePage/support/PosePickerSupport.js index aa263cf..749b587 100644 --- a/src/app/WardrobePage/support/PosePickerSupport.js +++ b/src/app/WardrobePage/support/PosePickerSupport.js @@ -206,7 +206,7 @@ function PosePickerSupport({ Restricts: - {currentPetAppearance.restrictedZones.length > 1 ? ( + {currentPetAppearance.restrictedZones.length > 0 ? ( {currentPetAppearance.restrictedZones .map((zone) => `${zone.label} (${zone.id})`)