fix query params + added changeset
Signed-off-by: dimisjim <dimitris.moraitidis@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-gcp-projects': patch
|
||||
---
|
||||
|
||||
Fix query parameter for project details page which should point to projectId rather than project name
|
||||
@@ -127,7 +127,7 @@ const DetailsPage = () => {
|
||||
{details?.name && (
|
||||
<Button>
|
||||
<a
|
||||
href={`${cloud_home_url}/home/dashboard?project=${details.name}&supportedpurview=project`}
|
||||
href={`${cloud_home_url}/home/dashboard?project=${details.projectId}&supportedpurview=project`}
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
@@ -138,7 +138,7 @@ const DetailsPage = () => {
|
||||
{details?.name && (
|
||||
<Button>
|
||||
<a
|
||||
href={`${cloud_home_url}/logs/query?project=${details.name}&supportedpurview=project`}
|
||||
href={`${cloud_home_url}/logs/query?project=${details.projectId}&supportedpurview=project`}
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user