Disable Save button when entry has not been changed.

This commit is contained in:
Caleb
2017-09-02 19:24:37 -06:00
parent afa5a9af2c
commit 75aa52a650
3 changed files with 7 additions and 1 deletions

View File

@ -151,6 +151,7 @@ class EntryPage extends React.Component {
onPersist={this.handlePersistEntry}
onDelete={this.handleDeleteEntry}
showDelete={this.props.showDelete}
hasChanged={entryDraft.get('hasChanged')}
onCancelEdit={this.handleCloseEntry}
/>
);