diff --git a/html/src/app.js b/html/src/app.js index aa770cc6..71d28e1a 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -20593,7 +20593,7 @@ speechSynthesis.getVoices(); ref.name.toLowerCase().includes(search) || ref.authorName.toLowerCase().includes(search) ) { - results.push(ref); + if (!results.some(r => r.id == ref.id)) results.push(ref); } } } @@ -20607,7 +20607,7 @@ speechSynthesis.getVoices(); ref.name.toLowerCase().includes(search) || ref.authorName.toLowerCase().includes(search) ) { - results.push(ref); + if (!results.some(r => r.id == ref.id)) results.push(ref); } }