This is an automated email from the ASF dual-hosted git repository.

liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 047020ec fix: mcpServer blank page issue (#545)
047020ec is described below

commit 047020ec1d28f448d41716be368f9c748c63f5de
Author: Wweiei <[email protected]>
AuthorDate: Thu Sep 4 09:57:08 2025 +0800

    fix: mcpServer blank page issue (#545)
---
 src/routes/Plugin/McpServer/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/routes/Plugin/McpServer/index.js 
b/src/routes/Plugin/McpServer/index.js
index 660d9955..56745e6b 100755
--- a/src/routes/Plugin/McpServer/index.js
+++ b/src/routes/Plugin/McpServer/index.js
@@ -1179,7 +1179,7 @@ export default class McpServer extends Component {
         key: "requestConfig",
         render: (text) => {
           const handle = JSON.parse(text);
-          const requestConfig = JSON.parse(handle.requestConfig);
+          const requestConfig = JSON.parse(handle?.requestConfig || "{}");
           return (
             <Popover
               content={

Reply via email to