mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-11 16:31:57 +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') {
|
if (translation.status === 'fulfilled') {
|
||||||
response = translation.value;
|
response = translation.value;
|
||||||
}
|
} else {
|
||||||
|
if (fallbackTranslation.status === 'fulfilled') {
|
||||||
if (!isEnglishLanguage && fallbackTranslation.status === 'fulfilled') {
|
response = fallbackTranslation.value;
|
||||||
response = fallbackTranslation.value;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setMarkdownContent(response);
|
setMarkdownContent(response);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user