summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/sync_now_button.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/admin_console/sync_now_button.jsx')
-rw-r--r--webapp/components/admin_console/sync_now_button.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/webapp/components/admin_console/sync_now_button.jsx b/webapp/components/admin_console/sync_now_button.jsx
index 95d126291..f1197b216 100644
--- a/webapp/components/admin_console/sync_now_button.jsx
+++ b/webapp/components/admin_console/sync_now_button.jsx
@@ -3,11 +3,12 @@
import React from 'react';
-import Client from 'client/web_client.jsx';
import * as Utils from 'utils/utils.jsx';
import {FormattedMessage, FormattedHTMLMessage} from 'react-intl';
+import {ldapSyncNow} from 'actions/admin_actions.jsx';
+
export default class SyncNowButton extends React.Component {
static get propTypes() {
return {
@@ -33,7 +34,7 @@ export default class SyncNowButton extends React.Component {
fail: null
});
- Client.ldapSyncNow(
+ ldapSyncNow(
() => {
this.setState({
buisy: false