mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 00:47:53 +00:00
minor fixes
This commit is contained in:
1 parent
9c46785928
commit
d2a8f889ca
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
+2
-1
@@ -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() } }
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user