mirror of
https://github.com/maunium/stickerpicker.git
synced 2025-01-28 19:04:59 +01:00
Merge cbbadac979090baa55c1e9c18440e48ea036a427 into 89d3aece041c85ebe5a1ad4e620388af5227cbb0
This commit is contained in:
commit
beb5864f28
@ -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