chore: table view for logs is updated (#3135)

This commit is contained in:
Palash Gupta 2023-07-14 12:31:25 +05:30 committed by GitHub
parent 433f930956
commit 7a177e18e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,7 @@ import { DEFAULT_PER_PAGE_VALUE } from 'container/Controls/config';
import ExportPanel from 'container/ExportPanel'; import ExportPanel from 'container/ExportPanel';
import LogsExplorerChart from 'container/LogsExplorerChart'; import LogsExplorerChart from 'container/LogsExplorerChart';
import LogsExplorerList from 'container/LogsExplorerList'; import LogsExplorerList from 'container/LogsExplorerList';
// TODO: temporary hide table view import LogsExplorerTable from 'container/LogsExplorerTable';
// import LogsExplorerTable from 'container/LogsExplorerTable';
import { GRAPH_TYPES } from 'container/NewDashboard/ComponentsSlider'; import { GRAPH_TYPES } from 'container/NewDashboard/ComponentsSlider';
import TimeSeriesView from 'container/TimeSeriesView/TimeSeriesView'; import TimeSeriesView from 'container/TimeSeriesView/TimeSeriesView';
import { useUpdateDashboard } from 'hooks/dashboard/useUpdateDashboard'; import { useUpdateDashboard } from 'hooks/dashboard/useUpdateDashboard';
@ -437,17 +436,16 @@ function LogsExplorerViews(): JSX.Element {
<TimeSeriesView isLoading={isFetching} data={data} isError={isError} /> <TimeSeriesView isLoading={isFetching} data={data} isError={isError} />
), ),
}, },
// TODO: temporary hide table view {
// { label: 'Table',
// label: 'Table', key: PANEL_TYPES.TABLE,
// key: PANEL_TYPES.TABLE, children: (
// children: ( <LogsExplorerTable
// <LogsExplorerTable data={data?.payload.data.newResult.data.result || []}
// data={data?.payload.data.newResult.data.result || []} isLoading={isFetching}
// isLoading={isFetching} />
// /> ),
// ), },
// },
], ],
[ [
isMultipleQueries, isMultipleQueries,