Skip to content

Commit 2a3d358

Browse files
committed
add 'Report' link
1 parent 25689a9 commit 2a3d358

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/AlertLinks.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ const AlertLinks = ({alert}) => {
2525
{alert.labels.cloudops &&
2626
<a href={`https://dashboard.${alert.labels.region}.cloud.sap/ccadmin/cloud_admin/cloudops#/universal-search/${alert.labels.cloudops}`} target="_blank" rel="noopener noreferrer">CloudOps</a>
2727
}
28+
{alert.labels.report &&
29+
<a href={`https://dashboard.${alert.labels.region}.cloud.sap/${alert.labels.report}`} target="_blank" rel="noopener noreferrer">Report</a>
30+
}
2831
{alert.annotations.mail_subject &&
2932
<a href={`mailto:?subject=${encodeURIComponent(alert.annotations.mail_subject)}&body=${encodeURIComponent(alert.annotations.mail_body)}`} rel="noopener noreferrer">Email Owner</a>
3033
}

0 commit comments

Comments
 (0)