Do not read store state from toggle panelaction creator

This commit is contained in:
Dominik Prokop
2019-02-11 12:56:37 +01:00
parent 14bf960b64
commit cee2e4788b
4 changed files with 19 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ interface LogsContainerProps {
export class LogsContainer extends PureComponent<LogsContainerProps> {
onClickLogsButton = () => {
this.props.toggleLogs(this.props.exploreId);
this.props.toggleLogs(this.props.exploreId, this.props.showingLogs);
};
handleDedupStrategyChange = (dedupStrategy: LogsDedupStrategy) => {