Skip to content

Commit

Permalink
add 'Report' link
Browse files Browse the repository at this point in the history
  • Loading branch information
edda committed Feb 24, 2022
1 parent 25689a9 commit 2a3d358
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/AlertLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ const AlertLinks = ({alert}) => {
{alert.labels.cloudops &&
<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>
}
{alert.labels.report &&
<a href={`https://dashboard.${alert.labels.region}.cloud.sap/${alert.labels.report}`} target="_blank" rel="noopener noreferrer">Report</a>
}
{alert.annotations.mail_subject &&
<a href={`mailto:?subject=${encodeURIComponent(alert.annotations.mail_subject)}&body=${encodeURIComponent(alert.annotations.mail_body)}`} rel="noopener noreferrer">Email Owner</a>
}
Expand Down

0 comments on commit 2a3d358

Please sign in to comment.