Skip to content

Commit

Permalink
Adjust jutsutype to use string
Browse files Browse the repository at this point in the history
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
  • Loading branch information
Phrosfire authored Feb 20, 2025
1 parent fd51524 commit c21c5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/layout/JutsuFiltering.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ export const getFilter = (state: JutsuFilteringState) => {
disappear: state.removeAnim === "None" ? undefined : state.removeAnim,
effect: processArray(state.effect as EffectType[]),
element: processArray(state.element as ElementName[]),
jutsuType: processArray(state.jutsuType as (typeof JutsuTypes)[number][]),
jutsuType: state.jutsuType === "None" ? undefined : state.jutsuType as (typeof JutsuTypes)[number],
method: state.method === "None" ? undefined : state.method,
name: state.name || undefined,
rank: state.rank === "NONE" ? undefined : state.rank,
Expand Down

0 comments on commit c21c5d1

Please sign in to comment.