Skip to content

Commit

Permalink
fix: 🐛 displayName in <QueryTitle/>
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Pryka committed Oct 2, 2020
1 parent 376af55 commit e66dc31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/js/app/components/BrowserPreview/BrowserPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ const BrowserPreview: FC<Props> = ({
<QueryLimitReached />
) : (
<>
{currentQuery && <QueryTitle>{currentQuery.name}</QueryTitle>}
{currentQuery && (
<QueryTitle>{currentQuery.displayName}</QueryTitle>
)}
{currentQuery && queryResults ? (
<QueryVisualization
widgetType={currentQuery.visualization.type}
Expand Down

0 comments on commit e66dc31

Please sign in to comment.