From e3ee8e19b2c85ccbbc71201abbdeaef80658ea14 Mon Sep 17 00:00:00 2001 From: AssisrMatheus Date: Thu, 28 Apr 2022 09:09:04 -0300 Subject: [PATCH] fix: fixes should hide when syncing --- src/services/marathon/parsing/parseRules.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/services/marathon/parsing/parseRules.ts b/src/services/marathon/parsing/parseRules.ts index 833135e..9c115c9 100644 --- a/src/services/marathon/parsing/parseRules.ts +++ b/src/services/marathon/parsing/parseRules.ts @@ -285,10 +285,7 @@ export const makeRulesFromMarathonModule = ( isSubmodule: marathonModule.isSubmodule || false, hasPegs: marathonModule.hasPegs || false, isMat: marathonModule.isMat || false, - shouldHideBasedOnWidth: - marathonModule.shouldHideBasedOnWidth !== undefined && marathonModule.shouldHideBasedOnWidth !== null - ? marathonModule.shouldHideBasedOnWidth - : true, + shouldHideBasedOnWidth: marathonModule.shouldHideBasedOnWidth || false, alwaysDisplay: marathonModule.alwaysDisplay || false, isEdge: marathonModule.isEdge || false, isExtension: false, // False in this case, we'll manually set to true on the method regarding extensions