diff --git a/src/apps/dashboard/features/logs/api/useServerLog.ts b/src/apps/dashboard/features/logs/api/useServerLog.ts index 4c337dfa98..21b2d10057 100644 --- a/src/apps/dashboard/features/logs/api/useServerLog.ts +++ b/src/apps/dashboard/features/logs/api/useServerLog.ts @@ -9,10 +9,6 @@ const fetchServerLog = async ( name: string, options?: AxiosRequestConfig ) => { - if (!api) { - console.error('[useServerLog] No API instance available'); - return; - } const response = await getSystemApi(api).getLogFile({ name }, options); // FIXME: TypeScript SDK thinks it is returning a File but in reality it is a string diff --git a/src/apps/dashboard/routes/logs/file.tsx b/src/apps/dashboard/routes/logs/file.tsx index d225008683..24caf4c06b 100644 --- a/src/apps/dashboard/routes/logs/file.tsx +++ b/src/apps/dashboard/routes/logs/file.tsx @@ -66,7 +66,7 @@ export const Component = () => { size='small' onClick={retry} > - Retry + {globalize.translate('Retry')} } > diff --git a/src/strings/en-us.json b/src/strings/en-us.json index ff73246005..85253de3b3 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1445,6 +1445,7 @@ "ReplaceAllMetadata": "Replace all metadata", "ReplaceExistingImages": "Replace existing images", "ReplaceTrickplayImages": "Replace existing trickplay images", + "Retry": "Retry", "Reset": "Reset", "ResetPassword": "Reset Password", "ResolutionMatchSource": "Match Source",