mirror of
https://github.com/maunium/stickerpicker
synced 2025-10-15 04:18:14 +00:00
Merge cbbadac979090baa55c1e9c18440e48ea036a427 into 4b96d236212b1212976f4c3c60479e7aaed866cb
This commit is contained in:
commit
a9f9411b9c
@ -109,6 +109,7 @@ class App extends Component {
|
|||||||
const packsWithFilteredStickers = allPacks.map(pack => ({
|
const packsWithFilteredStickers = allPacks.map(pack => ({
|
||||||
...pack,
|
...pack,
|
||||||
stickers: pack.stickers.filter(sticker =>
|
stickers: pack.stickers.filter(sticker =>
|
||||||
|
sanitizeString(pack.title).includes(searchTerm) ||
|
||||||
sanitizeString(sticker.body).includes(searchTerm) ||
|
sanitizeString(sticker.body).includes(searchTerm) ||
|
||||||
sanitizeString(sticker.id).includes(searchTerm)
|
sanitizeString(sticker.id).includes(searchTerm)
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user