From 0e6c795c5b56433688d4ef2a07715a00bc7b0c27 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Wed, 4 Sep 2019 18:06:09 +0300 Subject: [PATCH] - client: fix id and method name --- client/src/components/Logs/index.js | 2 +- client/src/components/Settings/LogsConfig/index.js | 6 +++--- client/src/components/Settings/StatsConfig/index.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/components/Logs/index.js b/client/src/components/Logs/index.js index 5c1db03c..d9cd3bfa 100644 --- a/client/src/components/Logs/index.js +++ b/client/src/components/Logs/index.js @@ -373,7 +373,7 @@ class Logs extends Component { {enabled && isDataReady && this.renderLogs(queryLogs.logs)} {!enabled && isDataReady && (
- link]}> + link]}> query_log_disabled
diff --git a/client/src/components/Settings/LogsConfig/index.js b/client/src/components/Settings/LogsConfig/index.js index 3c7b0a47..8b519827 100644 --- a/client/src/components/Settings/LogsConfig/index.js +++ b/client/src/components/Settings/LogsConfig/index.js @@ -12,7 +12,7 @@ class LogsConfig extends Component { this.props.setLogsConfig(values); }, DEBOUNCE_TIMEOUT); - handleLogsClear = () => { + handleClear = () => { const { t, clearLogs } = this.props; // eslint-disable-next-line no-alert if (window.confirm(t('query_log_confirm_clear'))) { @@ -29,7 +29,7 @@ class LogsConfig extends Component {
query_log_clear diff --git a/client/src/components/Settings/StatsConfig/index.js b/client/src/components/Settings/StatsConfig/index.js index 0b9775d6..86c23b38 100644 --- a/client/src/components/Settings/StatsConfig/index.js +++ b/client/src/components/Settings/StatsConfig/index.js @@ -12,7 +12,7 @@ class StatsConfig extends Component { this.props.setStatsConfig(values); }, DEBOUNCE_TIMEOUT); - handleStatsReset = () => { + handleReset = () => { const { t, resetStats } = this.props; // eslint-disable-next-line no-alert if (window.confirm(t('statistics_clear_confirm'))) { @@ -40,7 +40,7 @@ class StatsConfig extends Component {