1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Many small changes

This commit is contained in:
Laurent Cozic
2017-07-15 00:12:32 +01:00
parent f840dd505f
commit 1c16e493f6
6 changed files with 259 additions and 134 deletions

View File

@ -23,6 +23,12 @@ class ActionButtonComponent extends React.Component {
};
}
componentWillReceiveProps(newProps) {
if ('toggled' in newProps) {
this.setState({ toggled: newProps.toggled });
}
}
newTodo_press() {
this.props.dispatch({
type: 'Navigation/NAVIGATE',