diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index ad98d6008..24a5187b5 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -193,7 +193,7 @@ function checkPathname(projectsId, owner, pathname) { } else if (url.indexOf(`/wiki`) > -1) { name = "wiki" } else if (url.indexOf(`/sbom`) > -1) { - name = "server" + name = "sbom" } } return name; diff --git a/src/forge/Main/sub/DetailBanner.jsx b/src/forge/Main/sub/DetailBanner.jsx index a45d71f10..1de9a5020 100644 --- a/src/forge/Main/sub/DetailBanner.jsx +++ b/src/forge/Main/sub/DetailBanner.jsx @@ -62,7 +62,7 @@ function DetailBanner({ history,list , owner , projectsId ,showNotification , ur } { - owner === "gh_mirrors" && item.menu_name === "code" && + item.menu_name === "code" &&
  • @@ -71,8 +71,8 @@ function DetailBanner({ history,list , owner , projectsId ,showNotification , ur
  • } { - owner === "gh_mirrors" && item.menu_name === "issues" && -
  • + item.menu_name === "dataset" && +
  • 供应链 @@ -80,7 +80,7 @@ function DetailBanner({ history,list , owner , projectsId ,showNotification , ur
  • } { - owner === "gh_mirrors" && item.menu_name === "issues" && + item.menu_name === "issues" &&