소스 검색

Remove not related code

Dominik Prokop 6 년 전
부모
커밋
85780eb30c
1개의 변경된 파일1개의 추가작업 그리고 10개의 파일을 삭제
  1. 1 10
      public/app/features/explore/state/actions.ts

+ 1 - 10
public/app/features/explore/state/actions.ts

@@ -715,7 +715,7 @@ const togglePanelActionCreator = (
     | ActionCreator<ToggleLogsPayload>
     | ActionCreator<ToggleTablePayload>
 ) => (exploreId: ExploreId, isPanelVisible: boolean) => {
-  return (dispatch) => {
+  return dispatch => {
     let uiFragmentStateUpdate: Partial<ExploreUIState>;
     const shouldRunQueries = !isPanelVisible;
 
@@ -763,12 +763,3 @@ export const changeDedupStrategy = (exploreId, dedupStrategy: LogsDedupStrategy)
     dispatch(updateExploreUIState(exploreId, { dedupStrategy }));
   };
 };
-
-/**
- * Change logs deduplication strategy and update URL.
- */
-export const hiddenLogLe = (exploreId, dedupStrategy: LogsDedupStrategy) => {
-  return dispatch => {
-    dispatch(updateExploreUIState(exploreId, { dedupStrategy }));
-  };
-};