Skip to content

Commit

Permalink
show warning when traceID is empty in minimized view
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerTorres committed Jan 22, 2024
1 parent 89365d9 commit 4efbe85
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/queryBuilder/QueryBuilder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ const MinimizedQueryViewer = (props: MinimizedQueryBuilder) => {
</VerticalGroup>
</Alert>
)}
{ !traceId && (
<Alert title="" severity="warning">
<VerticalGroup>
<div>Trace ID is empty</div>
</VerticalGroup>
</Alert>
)}

{traceId && <TraceIdInput traceId={traceId} onChange={() => {}} disabled /> }

Expand Down

0 comments on commit 4efbe85

Please sign in to comment.