mirror of
https://github.com/maunium/stickerpicker
synced 2025-10-12 19:08:12 +00:00
Compare commits
2 Commits
a9f9411b9c
...
beb5864f28
Author | SHA1 | Date | |
---|---|---|---|
|
beb5864f28 | ||
|
cbbadac979 |
@ -111,6 +111,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