Review changes

This commit is contained in:
Dominik Prokop 2019-02-11 11:59:48 +01:00
parent 512aa62efc
commit c9fbd43231
2 changed files with 2 additions and 4 deletions

View File

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

View File

@ -180,8 +180,6 @@ export interface SplitOpenPayload {
itemState: ExploreItemState; itemState: ExploreItemState;
} }
//
export interface ToggleTablePayload { export interface ToggleTablePayload {
exploreId: ExploreId; exploreId: ExploreId;
} }
@ -373,7 +371,7 @@ export const splitOpenAction = actionCreatorFactory<SplitOpenPayload>('explore/S
export const stateSaveAction = noPayloadActionCreatorFactory('explore/STATE_SAVE').create(); 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(); export const updateUIStateAction = actionCreatorFactory<UpdateUIStatePayload>('explore/UPDATE_UI_STATE').create();