Skip to content

Commit

Permalink
feat(web): only error event support check raw json data
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyao27 committed Aug 16, 2022
1 parent de13466 commit 12bad61
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions packages/web/src/components/eventDetailProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,16 @@ const EventDetailProfile: FC<Props> = ({ event }) => {
<Wrapper>
<CardSection
head={
(
<Link
href={`/api/events/${event.id}`}
isExternal
>
event.category === 'error'
? (
<Link
href={`/api/events/${event.id}`}
isExternal
>
JSON Raw {event.id}
</Link>
)
</Link>
)
: null
}
title="Event Environment"
>
Expand Down

0 comments on commit 12bad61

Please sign in to comment.