From fa1e20513a8a02a85222baa5c4f94da2bd62ce90 Mon Sep 17 00:00:00 2001 From: Xeu Date: Wed, 10 Jul 2024 22:08:11 +0800 Subject: [PATCH] fix: false config not work --- client/src/page/feed.tsx | 4 ++-- client/src/state/config.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/page/feed.tsx b/client/src/page/feed.tsx index f867fc82..de6f6969 100644 --- a/client/src/page/feed.tsx +++ b/client/src/page/feed.tsx @@ -204,12 +204,12 @@ export function FeedPage({ id, TOC, clean }: { id: string, TOC: () => JSX.Elemen )} {counterEnabled &&
- {t("count.pv")}
+ {t("count.pv")}
{feed.pv}
|
- {t("count.uv")}
+ {t("count.uv")}
{feed.uv}
diff --git a/client/src/state/config.tsx b/client/src/state/config.tsx
index fb522d29..47144782 100644
--- a/client/src/state/config.tsx
+++ b/client/src/state/config.tsx
@@ -10,7 +10,7 @@ export const defaultClientConfig = new Map(Object.entries({
export const defaultServerConfig = new Map(Object.entries({
"friend_apply_auto_accept": false,
"friend_crontab": true,
- "friend_ua":"Rin-Check/0.1.0"
+ "friend_ua": "Rin-Check/0.1.0"
}))
export class ConfigWrapper {
@@ -22,7 +22,7 @@ export class ConfigWrapper {
}
get