Skip to content

Commit

Permalink
Fixing build types
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrdyn committed Sep 30, 2024
1 parent 73ef58a commit 4c71279
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,22 @@
import React from 'react';

import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { useSummaryPanelContext } from '../../../hooks';
import { DatasetsQualityIndicators } from './datasets_quality_indicators';
import { DatasetsActivity } from './datasets_activity';
import { EstimatedData } from './estimated_data';

// Allow for lazy loading
// eslint-disable-next-line import/no-default-export
export default function SummaryPanel() {
const { isEstimatedDataDisabled } = useSummaryPanelContext();
return (
<EuiFlexGroup gutterSize="m">
<EuiFlexItem>
<DatasetsQualityIndicators />
</EuiFlexItem>

<EuiFlexItem>
<EuiFlexGroup gutterSize="m">
<DatasetsActivity />
{!isEstimatedDataDisabled && <EstimatedData />}
<EstimatedData />
</EuiFlexGroup>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const useDatasetQualityTable = () => {

const { page, rowsPerPage, sort } = useSelector(service, (state) => state.context.table);

const isSizeStatsAvailable = useSelector(service, (state) => state.context.isSizeStatsAvailable);
const canUserMonitorDataset = useSelector(
service,
(state) => state.context.datasetUserPrivileges.canMonitor
Expand Down Expand Up @@ -102,7 +101,6 @@ export const useDatasetQualityTable = () => {
loadingDataStreamStats,
loadingDegradedStats,
showFullDatasetNames,
isSizeStatsAvailable,
isActiveDataset: isActive,
timeRange,
urlService: url,
Expand All @@ -114,7 +112,6 @@ export const useDatasetQualityTable = () => {
loadingDataStreamStats,
loadingDegradedStats,
showFullDatasetNames,
isSizeStatsAvailable,
isActive,
timeRange,
url,
Expand Down Expand Up @@ -211,6 +208,5 @@ export const useDatasetQualityTable = () => {
canUserMonitorAnyDataStream,
toggleInactiveDatasets,
toggleFullDatasetNames,
isSizeStatsAvailable,
};
};

0 comments on commit 4c71279

Please sign in to comment.