Skip to content

Commit

Permalink
fix: fixes should hide when syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
AssisrMatheus committed Apr 28, 2022
1 parent 8554b56 commit e3ee8e1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/services/marathon/parsing/parseRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3ee8e1

Please sign in to comment.