Skip to content

Commit

Permalink
searchMetaData type change
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 fccc0b7 commit 53e4272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/components/common/search/sql_search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export const DirectSearch = (props: any) => {
tabId,
data: {
isPolling: false,
status: null,
status: undefined,
},
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { createSlice, createSelector, PayloadAction } from '@reduxjs/toolkit';
import { initialTabId } from '../../../../framework/redux/store/shared_state';
import { REDUX_EXPL_SLICE_SEARCH_META_DATA } from '../../../../../common/constants/explorer';
import { SelectedDataSource } from '../../../../../common/types/explorer';
import { DirectQueryLoadingStatus, SelectedDataSource } from '../../../../../common/types/explorer';

const cleanState = {
lang: 'PPL',
Expand All @@ -24,6 +24,7 @@ interface SearchMetaData {
lang: string;
datasources: SelectedDataSource[];
isPolling: boolean;
status: DirectQueryLoadingStatus;
}

interface SearchMetaDataState {
Expand Down

0 comments on commit 53e4272

Please sign in to comment.