mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 19:18:05 +00:00
Use the correct non english guide in services if it exists (#19957)
This commit is contained in:
parent
08fbd32871
commit
4c70110690
@ -104,10 +104,10 @@ const ServiceDocPanel: FC<ServiceDocPanelProp> = ({
|
||||
|
||||
if (translation.status === 'fulfilled') {
|
||||
response = translation.value;
|
||||
}
|
||||
|
||||
if (!isEnglishLanguage && fallbackTranslation.status === 'fulfilled') {
|
||||
response = fallbackTranslation.value;
|
||||
} else {
|
||||
if (fallbackTranslation.status === 'fulfilled') {
|
||||
response = fallbackTranslation.value;
|
||||
}
|
||||
}
|
||||
|
||||
setMarkdownContent(response);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user