Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 20, 2023
1 parent 24dc762 commit a9d7ace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/search/filter-rows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export function filterShinryoukouiRow(row: string[], item: NormalizedFilterItem)
if (item.codeValue && getValue(row, codeField) === item.codeValue) {
return true;
}
if (item.kanaValue) {
return getValue(row, kanaField).includes(item.kanaValue);
if (item.kanaValue && getValue(row, kanaField).includes(item.kanaValue)) {
return true;
}
return getValue(row, nameField).includes(item.fullWidthValue) || getValue(row, fullnameField).includes(item.fullWidthValue);
}
Expand Down

0 comments on commit a9d7ace

Please sign in to comment.