Merge cbbadac979
into 333567f481
This commit is contained in:
commit
961574f3d8
|
@ -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…
Reference in New Issue