diff --git a/web/screens/Settings/EngineSetting/index.tsx b/web/screens/Settings/EngineSetting/index.tsx index 2bb91113ad..fbe4171c3f 100644 --- a/web/screens/Settings/EngineSetting/index.tsx +++ b/web/screens/Settings/EngineSetting/index.tsx @@ -13,6 +13,11 @@ import useEngineQuery from '@/hooks/useEngineQuery' import LoadingIndicator from '@/screens/HubScreen2/components/LoadingIndicator' +const getStatusTitle = (status: string) => { + const normalized = status.charAt(0).toUpperCase() + status.slice(1) + return normalized.replaceAll('_', ' ') +} + const EngineSetting: React.FC = () => { const { isLoading, data } = useEngineQuery() @@ -56,7 +61,7 @@ const EngineSetting: React.FC = () => { {engineStatus.version} - {engineStatus.status} + {getStatusTitle(engineStatus.status)} ) })}