mirror of
https://github.com/maunium/stickerpicker.git
synced 2025-07-17 14:33:27 +02:00
Merge cbbadac979
into 89d3aece04
This commit is contained in:
@ -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)
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user