From 6d71c20ea86ac2780f93b3152ae236c95b9f59e4 Mon Sep 17 00:00:00 2001 From: diminator Date: Tue, 28 Jul 2015 09:49:53 +0200 Subject: [PATCH] inputcheckbox for loan settings container with profile update --- js/components/settings_container.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/components/settings_container.js b/js/components/settings_container.js index 90a38401..9d95017c 100644 --- a/js/components/settings_container.js +++ b/js/components/settings_container.js @@ -66,7 +66,7 @@ let AccountSettings = React.createClass({ handleSuccess(){ UserActions.fetchCurrentUser(); - let notification = new GlobalNotificationModel(getLangText('username succesfully updated'), 'success', 5000); + let notification = new GlobalNotificationModel(getLangText('Settings succesfully updated'), 'success', 5000); GlobalNotificationActions.appendGlobalNotification(notification); }, @@ -114,8 +114,7 @@ let AccountSettings = React.createClass({ className="ascribe-settings-property-collapsible-toggle" style={{paddingBottom: 0}}> + defaultValue={this.state.currentUser.profile.hash_locally}> {' ' + getLangText('Enable hash option for slow connections. ' + 'Computes and uploads a hash of the work instead.')}