{isPaused && (
-
+
+ {t("Logs.RowToBottom")}
+
)}
From 0cd1df21a89fe2796cb0c9a965807a5e6e82635a Mon Sep 17 00:00:00 2001
From: newfish-cmyk <1239331448@qq.com>
Date: Tue, 23 Jan 2024 10:25:26 +0800
Subject: [PATCH 5/5] fix
---
web/public/locales/en/translation.json | 2 +-
web/public/locales/zh-CN/translation.json | 2 +-
web/public/locales/zh/translation.json | 2 +-
web/src/pages/app/mods/StatusBar/LogsModal/index.tsx | 5 +----
4 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/web/public/locales/en/translation.json b/web/public/locales/en/translation.json
index ee6c2fcaa8..f8d9383c09 100644
--- a/web/public/locales/en/translation.json
+++ b/web/public/locales/en/translation.json
@@ -719,7 +719,7 @@
"PodLogs": "App Instance Logs",
"Export": "Export",
"logs": "Logs",
- "RowToBottom": "row to bottom"
+ "ScrollToBottom": "Scroll to bottom"
},
"KeyCannotBeEmpty": "Key can't be empty",
"ValueCannotBeEmpty": "Value can't be empty",
diff --git a/web/public/locales/zh-CN/translation.json b/web/public/locales/zh-CN/translation.json
index ba2637ad3a..db66004443 100644
--- a/web/public/locales/zh-CN/translation.json
+++ b/web/public/locales/zh-CN/translation.json
@@ -719,7 +719,7 @@
"PodLogs": "应用实例日志",
"Export": "导出",
"logs": "日志",
- "RowToBottom": "滚动到底部"
+ "ScrollToBottom": "滚动到底部"
},
"KeyCannotBeEmpty": "Key 不能为空",
"ValueCannotBeEmpty": "Value 不能为空",
diff --git a/web/public/locales/zh/translation.json b/web/public/locales/zh/translation.json
index 0924257399..4e0e32294d 100644
--- a/web/public/locales/zh/translation.json
+++ b/web/public/locales/zh/translation.json
@@ -719,7 +719,7 @@
"PodLogs": "应用实例日志",
"Export": "导出",
"logs": "日志",
- "RowToBottom": "滚动到底部"
+ "ScrollToBottom": "滚动到底部"
},
"KeyCannotBeEmpty": "Key 不能为空",
"ValueCannotBeEmpty": "Value 不能为空",
diff --git a/web/src/pages/app/mods/StatusBar/LogsModal/index.tsx b/web/src/pages/app/mods/StatusBar/LogsModal/index.tsx
index 7c6cb07706..af1a14318f 100644
--- a/web/src/pages/app/mods/StatusBar/LogsModal/index.tsx
+++ b/web/src/pages/app/mods/StatusBar/LogsModal/index.tsx
@@ -49,8 +49,6 @@ export default function LogsModal(props: { children: React.ReactElement }) {
const [renderLogs, setRenderLogs] = useState("");
const [refresh, setRefresh] = useState(true);
- const logViewerRef = useRef