Skip to content

Commit

Permalink
use datasource variable
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Sebastian <[email protected]>
  • Loading branch information
paulstn committed Oct 23, 2023
1 parent 892140a commit a1b9c59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/components/event_analytics/explorer/explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,7 @@ export const Explorer = ({
<EuiSpacer size="m" />
</>
)}
{explorerSearchMeta.datasources?.[0]?.type === 'DEFAULT_INDEX_PATTERNS' ||
appLogEvents ? (
{isDefaultDataSourceType || appLogEvents ? (
<>
{countDistribution.data && countDistribution.data['count()'] ? (
<DataGrid
Expand Down

0 comments on commit a1b9c59

Please sign in to comment.