mirror of
https://github.com/maunium/stickerpicker.git
synced 2025-07-17 06:23:28 +02:00
Merge cbbadac979
into 89d3aece04
This commit is contained in:
@ -111,6 +111,7 @@ class App extends Component {
|
||||
const packsWithFilteredStickers = allPacks.map(pack => ({
|
||||
...pack,
|
||||
stickers: pack.stickers.filter(sticker =>
|
||||
sanitizeString(pack.title).includes(searchTerm) ||
|
||||
sanitizeString(sticker.body).includes(searchTerm) ||
|
||||
sanitizeString(sticker.id).includes(searchTerm)
|
||||
),
|
||||
|
Reference in New Issue
Block a user