Skip to content

Commit

Permalink
Merge pull request #66 from newrelic/kav/statusLink
Browse files Browse the repository at this point in the history
feat: add onClick to statusLabel
  • Loading branch information
Kav91 committed Jul 8, 2024
2 parents 39857f3 + 17e7f97 commit f192759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion visualizations/nrql-status-widget/status-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,14 @@ export default class StatusWidget extends React.Component {
)}
{statusLabel && (
<div
onClick={chartOnClick}
className="flex-item"
style={{
color: 'white',
fontSize: displayMetric ? '13vh' : '20vh',
textOverflow: 'ellipsis',
overflow: 'hidden'
overflow: 'hidden',
cursor: chartOnClick ? 'pointer' : 'default'
}}
>
{statusLabel}
Expand Down

0 comments on commit f192759

Please sign in to comment.