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 e6f8f86 commit e15304c
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 @@ -545,8 +545,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 e15304c

Please sign in to comment.