Skip to content

Commit

Permalink
fix: Fix links in cluster project overview page
Browse files Browse the repository at this point in the history
  • Loading branch information
leoliu committed Jun 7, 2020
1 parent e8f8961 commit 5658dd2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
)
}
}
Expand All @@ -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}`
)
}
}
Expand Down

0 comments on commit 5658dd2

Please sign in to comment.