mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Review changes
This commit is contained in:
parent
512aa62efc
commit
c9fbd43231
@ -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,
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user