File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,15 +205,15 @@ export default function useAddModuleMenu(position: ModulePositionInput, closeMen
205
205
< ModuleMenuItem
206
206
module = { convertModuleToModuleInfo ( module ) }
207
207
isDisabled = {
208
- ( SMALL_MODULE_TYPES . includes ( module . properties . type ) && ! isSmallModuleRow ) ||
208
+ ( SMALL_MODULE_TYPES . includes ( module . properties . type ) && isLargeModuleRow ) ||
209
209
( LARGE_MODULE_TYPES . includes ( module . properties . type ) && isSmallModuleRow )
210
210
}
211
211
isSmallModule = { SMALL_MODULE_TYPES . includes ( module . properties . type ) }
212
212
/>
213
213
) ,
214
214
onClick : ( ) => handleAddExistingModule ( module ) ,
215
215
disabled :
216
- ( SMALL_MODULE_TYPES . includes ( module . properties . type ) && ! isSmallModuleRow ) ||
216
+ ( SMALL_MODULE_TYPES . includes ( module . properties . type ) && isLargeModuleRow ) ||
217
217
( LARGE_MODULE_TYPES . includes ( module . properties . type ) && isSmallModuleRow ) ,
218
218
} ) ) ;
219
219
You can’t perform that action at this time.
0 commit comments