Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
Don't filter on required mods list (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarroDC committed Sep 11, 2022
1 parent c1838ab commit dd4c937
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/store/mods-state/mod-categories-state.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { selector } from 'recoil';

import { modList } from './mods-state';
import { filteredModList } from './mod-filter-state';
import { requiredDependencyIdsState } from './mod-dependencies-state';
import { modIsLoadingState } from './mod-progress-state';
Expand Down Expand Up @@ -45,7 +46,7 @@ export const notInstalledModList = selector({
export const requiredModList = selector({
key: 'RequiredMods',
get: ({ get }) =>
get(nonAddonModList).filter(
get(modList).filter(
(mod) =>
(!mod.localVersion || !mod.isEnabled) &&
!get(modIsLoadingState(mod.uniqueName)) &&
Expand Down

0 comments on commit dd4c937

Please sign in to comment.