minor fixes

This commit is contained in:
Brandon Thomas committed 2023-01-27 05:28:44 -05:00
1 parent 9c46785928
commit d2a8f889ca
2 files changed
+3 -2

No files matched your search

@@ -114,7 +114,7 @@ export function ScopedVoiceModelOptions(props: Props) {
const numberVoices = options.length;
const canSearchVoices = !props.isExploreTrayOpen // Always allow search when try is closed
|| numberVoices > 30 // Always allow search when there are over 30 voices
|| numberVoices > 100 // Always allow search when there are over 100 voices
|| window.innerWidth >= 1000; // Always allow search when on desktop
let select;
@@ -37,7 +37,7 @@ export function LanguageOptions(props: Props) {
languageOptions = [
{
label: `${t("tts.TtsModelListPage.exploreModal.allLanguagesOptionText")} 🌐`,
label: `${t("tts.TtsModelListPage.exploreModal.allLanguagesOptionText")}`,
value: '*',
},
...languageOptions,
@@ -56,6 +56,7 @@ export function LanguageOptions(props: Props) {
value={currentValue}
options={languageOptions}
classNames={SearchFieldClass}
isSearchable={false}
onChange={handleChange}
onMenuOpen={() => { Analytics.ttsOpenCategorySelectMenu() } }
/>