From 290459997cdb8a34c991b38e612fcfed4fdcda9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=93=E9=BC=A0?= <71394853+hamster1963@users.noreply.github.com> Date: Fri, 3 Jan 2025 22:43:00 +0800 Subject: [PATCH] fix: footer year text (#88) * fix: footer year text * fix: oauth2 list add space * chore: auto-fix linting and formatting issues --------- Co-authored-by: hamster1963 --- src/routes/login.tsx | 19 +++++++++++-------- src/routes/root.tsx | 4 ++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/routes/login.tsx b/src/routes/login.tsx index d459073..2d4953e 100644 --- a/src/routes/login.tsx +++ b/src/routes/login.tsx @@ -106,15 +106,18 @@ function Login() { {t("Login")} -
- -
- OAuth2 -
- -
+ {settingData?.config?.oauth2_providers && + settingData?.config?.oauth2_providers.length > 0 && ( +
+ +
+ OAuth2 +
+ +
+ )} -
+
{settingData?.config?.oauth2_providers?.map((p: string) => (
-