From 8b11ab497bc46544aecf6373b6c60e29a0f46c3c Mon Sep 17 00:00:00 2001 From: shuai Date: Fri, 11 Nov 2022 14:55:41 +0800 Subject: [PATCH 1/2] fix: add releases url --- .../components/HealthStatus/index.tsx | 25 ++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx b/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx index fd511ca1..2193df17 100644 --- a/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx +++ b/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx @@ -22,17 +22,36 @@ const HealthStatus: FC = ({ data }) => { {t('version')} {version} {isLatest && ( - + {t('latest')} )} {!isLatest && remote_version && ( - + {t('update_to')} {remote_version} )} {!isLatest && !remote_version && ( - + {t('check_failed')} )} From 1af3ea93a1cd2ac983c3d00fb1d4dc48fbfb0439 Mon Sep 17 00:00:00 2001 From: shuai Date: Fri, 11 Nov 2022 15:03:52 +0800 Subject: [PATCH 2/2] fix: style asjustment --- ui/src/pages/Search/components/Head/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/pages/Search/components/Head/index.tsx b/ui/src/pages/Search/components/Head/index.tsx index 45906e05..260ecc65 100644 --- a/ui/src/pages/Search/components/Head/index.tsx +++ b/ui/src/pages/Search/components/Head/index.tsx @@ -36,7 +36,7 @@ const Index: FC = ({ data }) => {

{t('title')}

- {t('keywords')} + {t('keywords')} {q?.replace(reg, '')}
{options?.length && (