Selaa lähdekoodia

Review changes

Dominik Prokop 6 vuotta sitten
vanhempi
commit
c9fbd43231

+ 1 - 1
public/app/features/explore/LogsContainer.tsx

@@ -93,7 +93,7 @@ function mapStateToProps(state: StoreState, { exploreId }) {
   const { logsHighlighterExpressions, logsResult, queryTransactions, scanning, scanRange, range } = item;
   const loading = queryTransactions.some(qt => qt.resultType === 'Logs' && !qt.done);
   const {showingLogs, dedupStrategy} = selectItemUIState(item);
-  // const dedup = item.dedup;
+
   return {
     loading,
     logsHighlighterExpressions,

+ 1 - 3
public/app/features/explore/state/actionTypes.ts

@@ -180,8 +180,6 @@ export interface SplitOpenPayload {
   itemState: ExploreItemState;
 }
 
-//
-
 export interface ToggleTablePayload {
   exploreId: ExploreId;
 }
@@ -373,7 +371,7 @@ export const splitOpenAction = actionCreatorFactory<SplitOpenPayload>('explore/S
 export const stateSaveAction = noPayloadActionCreatorFactory('explore/STATE_SAVE').create();
 
 /**
- * Update state of Explores UI
+ * Update state of Explores UI elements (panels visiblity and deduplication  strategy)
  */
 export const updateUIStateAction = actionCreatorFactory<UpdateUIStatePayload>('explore/UPDATE_UI_STATE').create();