This commit is contained in:
David Baker 2018-04-27 15:56:28 +01:00 committed by Luke Barnard
parent 37cb8abf13
commit a9b6db3f2e
2 changed files with 3 additions and 3 deletions

View file

@ -68,7 +68,7 @@ export default React.createClass({
<button onClick={this._onClearStorageClick} className="danger">
{ _t("Clear Storage and Sign Out") }
</button>
</DialogButtons>
</DialogButtons>;
} else {
dialogButtons = <DialogButtons primaryButton={_t("Refresh")}
onPrimaryButtonClick={this._onRefreshClick}
@ -78,7 +78,7 @@ export default React.createClass({
<button onClick={this._onClearStorageClick} className="danger">
{ _t("Clear Storage and Sign Out") }
</button>
</DialogButtons>
</DialogButtons>;
}
return (

View file

@ -47,7 +47,7 @@ module.exports = React.createClass({
return {
hasCancel: true,
disabled: false,
}
};
},
_onCancelClick: function() {