1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-08 20:55:59 +01:00

inputcheckbox for loan

settings container with profile update
This commit is contained in:
diminator 2015-07-28 09:49:53 +02:00
parent b105e77009
commit 6d71c20ea8

View File

@ -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}}>
<InputCheckbox
defaultValue={true}
required={false}>
defaultValue={this.state.currentUser.profile.hash_locally}>
<span>
{' ' + getLangText('Enable hash option for slow connections. ' +
'Computes and uploads a hash of the work instead.')}