Browse Source

fix: update QA document default language from "Chinese" to "Chinese Simplified" (#17541)

tags/1.2.0
诗浓 6 months ago
parent
commit
8ab9eb9857
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/app/components/datasets/create/step-two/index.tsx

+ 1
- 1
web/app/components/datasets/create/step-two/index.tsx View File

} }


const [docLanguage, setDocLanguage] = useState<string>( const [docLanguage, setDocLanguage] = useState<string>(
(datasetId && documentDetail) ? documentDetail.doc_language : (locale !== LanguagesSupported[1] ? 'English' : 'Chinese'),
(datasetId && documentDetail) ? documentDetail.doc_language : (locale !== LanguagesSupported[1] ? 'English' : 'Chinese Simplified'),
) )


const [parentChildConfig, setParentChildConfig] = useState<ParentChildConfig>(defaultParentChildConfig) const [parentChildConfig, setParentChildConfig] = useState<ParentChildConfig>(defaultParentChildConfig)

Loading…
Cancel
Save