mirror of
https://github.com/maunium/stickerpicker.git
synced 2025-02-06 07:15:15 +01:00
Compare commits
2 Commits
beb5864f28
...
961574f3d8
Author | SHA1 | Date | |
---|---|---|---|
|
961574f3d8 | ||
|
cbbadac979 |
@ -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)
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user