Skip to content

Commit

Permalink
add tags to magic search (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
litelime authored Oct 31, 2022
1 parent 7e3665f commit 4deb0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pipes/magic-search.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export class MagicSearchPipe implements PipeTransform {
return finalArray.filter(item =>
item.partialPath.toLowerCase().indexOf(searchString.toLowerCase()) !== -1
|| item.fileName.toLowerCase().indexOf(searchString.toLowerCase()) !== -1
|| (item.tags && item.tags.join().toLowerCase().indexOf(searchString.toLowerCase()) !== -1)
);
}
}

}

0 comments on commit 4deb0a0

Please sign in to comment.