Skip to content

Commit c287d0a

Browse files
committed
Resolved merge conflicts
1 parent 4483abd commit c287d0a

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

src/hooks/useCorrelationQueryLogs.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export const useCorrelationQueryLogs = () => {
6969
notifyError({ message: `${currentStream} doesn't have any fields` });
7070
}
7171
});
72+
setCorrelationStore((store) => setIsCorrelatedFlag(store, true));
7273
},
7374
onError: (data: AxiosError) => {
7475
setLoading(false);

src/pages/Correlation/index.tsx

+19-18
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
1-
import { useEffect, useState } from 'react';
2-
import { useDocumentTitle } from '@mantine/hooks';
3-
import { Stack, Box, Center, Stepper } from '@mantine/core';
1+
import { Box, Center, Stack, Stepper } from '@mantine/core';
42
import {
53
PRIMARY_HEADER_HEIGHT,
64
STREAM_PRIMARY_TOOLBAR_CONTAINER_HEIGHT,
75
STREAM_SECONDARY_TOOLBAR_HRIGHT,
86
} from '@/constants/theme';
9-
import classes from './styles/Correlation.module.css';
10-
import { useCorrelationQueryLogs } from '@/hooks/useCorrelationQueryLogs';
11-
import { useGetMultipleStreamSchemas, useGetStreamSchema } from '@/hooks/useGetCorrelationStreamSchema';
12-
import { useFetchStreamData } from '@/hooks/useFetchStreamData';
13-
import { correlationStoreReducers, useCorrelationStore } from './providers/CorrelationProvider';
147
import { appStoreReducers, useAppStore } from '@/layouts/MainLayout/providers/AppProvider';
15-
import CorrelationTable from './Views/CorrelationTable';
16-
import CorrelationFooter from './Views/CorrelationFooter';
8+
import { correlationStoreReducers, useCorrelationStore } from './providers/CorrelationProvider';
9+
import { useEffect, useState } from 'react';
10+
import { useGetMultipleStreamSchemas, useGetStreamSchema } from '@/hooks/useGetCorrelationStreamSchema';
11+
1712
import { CorrelationEmptyPlaceholder } from './components/CorrelationEmptyPlaceholder';
18-
import useParamsController from './hooks/useParamsController';
19-
import _ from 'lodash';
20-
import { useCorrelationsQuery } from '@/hooks/useCorrelations';
21-
import SavedCorrelationsModal from './components/SavedCorrelationsModal';
22-
import SaveCorrelationModal from './components/SaveCorrelationModal';
23-
import { useCorrelationFetchCount } from './hooks/useCorrelationFetchCount';
13+
import CorrelationFooter from './Views/CorrelationFooter';
14+
import { CorrelationSidebar } from './components/CorrelationSideBar';
15+
import CorrelationTable from './Views/CorrelationTable';
16+
import { CorrelationToolbar } from './components/CorrelationToolbar';
2417
import CorrleationJSONView from './Views/CorrelationJSONView';
18+
import SaveCorrelationModal from './components/SaveCorrelationModal';
19+
import SavedCorrelationsModal from './components/SavedCorrelationsModal';
20+
import _ from 'lodash';
21+
import classes from './styles/Correlation.module.css';
2522
import dayjs from 'dayjs';
26-
import { CorrelationToolbar } from './components/CorrelationToolbar';
27-
import { CorrelationSidebar } from './components/CorrelationSideBar';
23+
import { useCorrelationFetchCount } from './hooks/useCorrelationFetchCount';
24+
import { useCorrelationQueryLogs } from '@/hooks/useCorrelationQueryLogs';
25+
import { useCorrelationsQuery } from '@/hooks/useCorrelations';
26+
import { useDocumentTitle } from '@mantine/hooks';
27+
import { useFetchStreamData } from '@/hooks/useFetchStreamData';
28+
import useParamsController from './hooks/useParamsController';
2829

2930
const { changeStream, setTimeRange } = appStoreReducers;
3031
const { setSelectedFields, setCorrelationCondition, setActiveCorrelation, setPageAndPageData, setTargetPage } =

0 commit comments

Comments
 (0)