Skip to content

Commit

Permalink
fix: update button in signal detail sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-y committed Nov 11, 2024
1 parent 31de21c commit fb6c58f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/components/signal-detail-sidebar/incidents.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,6 @@ const Incidents = ({ type, data, timeWindow }) => {
>
View incident
</Link>
{/* {type === SIGNAL_TYPES.ENTITY && (
<Link
className="detail-link"
to={navigation.getOpenEntityLocation(guid)}
onClick={(e) =>
e.target.setAttribute('target', '_blank')
}
>
View condition
</Link>
)} */}
</div>
<div>Started: {formatTimestamp(opened)}</div>
<div>
Expand All @@ -167,7 +156,7 @@ const Incidents = ({ type, data, timeWindow }) => {
{type === SIGNAL_TYPES.ENTITY && incidentsList?.length > 1 ? (
<div className="incidents-footer">
<Button
type={Button.TYPE.PLAIN_NEUTRAL}
variant={Button.VARIANT.SECONDARY}
onClick={() => {
setMaxIncidentsShown((mis) =>
mis === 1 ? incidentsList.length : 1
Expand Down

0 comments on commit fb6c58f

Please sign in to comment.