Fix search in StoriesPane
This commit is contained in:
parent
f5e94f2069
commit
096b6201e2
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ import { useRestoreFocus } from '../hooks/useRestoreFocus';
|
|||
|
||||
const FUSE_OPTIONS: Fuse.IFuseOptions<ConversationStoryType> = {
|
||||
getFn: (story, path) => {
|
||||
if (path === 'searchNames') {
|
||||
if (path[0] === 'searchNames' || path === 'searchNames') {
|
||||
return [story.storyView.sender.title, story.storyView.sender.name].filter(
|
||||
isNotNil
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue