mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-12 11:23:52 +02:00
Fix error when searching through favs (#986)
Fix for an error that can occur when searching through favs resulting in the entire application freezing.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user