浏览代码

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 }));
-  };
-};