This is an automated email from the ASF dual-hosted git repository.
lizhimins pushed a commit to branch rocketmq-studio
in repository https://gitbox.apache.org/repos/asf/rocketmq-dashboard.git
The following commit(s) were added to refs/heads/rocketmq-studio by this push:
new 3f28f08d [ISSUE #1577] Avoid Topic loading without an instance (#1578)
3f28f08d is described below
commit 3f28f08d83f571afa77ae7067dc6ce6d07f312e9
Author: youngkermit8-coder <[email protected]>
AuthorDate: Tue Aug 11 20:26:10 2026 +0800
[ISSUE #1577] Avoid Topic loading without an instance (#1578)
Signed-off-by: youngkermit8-coder <[email protected]>
---
web/src/pages/instance/topic.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/src/pages/instance/topic.tsx b/web/src/pages/instance/topic.tsx
index b66267bd..c34428b1 100644
--- a/web/src/pages/instance/topic.tsx
+++ b/web/src/pages/instance/topic.tsx
@@ -277,7 +277,7 @@ const TopicPage = () => {
// ─── State ─────────────────────────────────────────────────────
const [topics, setTopics] = useState<Topic[]>([]);
- const [loading, setLoading] = useState(true);
+ const [loading, setLoading] = useState(false);
const [routesByTopic, setRoutesByTopic] = useState<Record<string,
BrokerRoute[]>>({});
const [consumersByTopic, setConsumersByTopic] = useState<Record<string,
ConsumerGroupInfo[]>>({});
const [selectedRowKeys, setSelectedRowKeys] = useState<React.Key[]>([]);