From 5658dd24109eceac73633da57c26097db16be669 Mon Sep 17 00:00:00 2001 From: leoliu Date: Sun, 7 Jun 2020 19:16:15 +0800 Subject: [PATCH] fix: Fix links in cluster project overview page --- .../Overview/ResourceUsage/AppResourceItem/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/projects/containers/Overview/ResourceUsage/AppResourceItem/index.jsx b/src/pages/projects/containers/Overview/ResourceUsage/AppResourceItem/index.jsx index 93775a6f6e7..459edc6fb92 100644 --- a/src/pages/projects/containers/Overview/ResourceUsage/AppResourceItem/index.jsx +++ b/src/pages/projects/containers/Overview/ResourceUsage/AppResourceItem/index.jsx @@ -73,7 +73,7 @@ export default class ResourceCard extends React.Component { this.routing.push( workspace ? `/${workspace}/clusters/${cluster}/projects/${namespace}/${routeName}` - : `/clusters/${cluster}/${routeName}?namespace=${namespace}` + : `/clusters/${cluster}/${routeName}` ) } } @@ -97,7 +97,7 @@ export default class ResourceCard extends React.Component { this.routing.push( workspace ? `/${workspace}/clusters/${cluster}/projects/${namespace}/${routeName}?status=${status}` - : `/clusters/${cluster}/${routeName}?namespace=${namespace}&status=${status}` + : `/clusters/${cluster}/${routeName}?status=${status}` ) } }