Ver Fonte

Remove not related code

Dominik Prokop há 6 anos atrás
pai
commit
85780eb30c
1 ficheiros alterados com 1 adições e 10 exclusões
  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 }));
-  };
-};