mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Add isEqual and changing haveToSaveNotif method
This commit is contained in:
@@ -72,7 +72,7 @@ class HotkeyTab extends React.Component {
|
||||
this.setState({
|
||||
config
|
||||
})
|
||||
if (JSON.stringify(this.oldHotkey) === JSON.stringify(config.hotkey)) {
|
||||
if (_.isEqual(this.oldHotkey, config.hotkey)) {
|
||||
this.props.haveToSave()
|
||||
} else {
|
||||
this.props.haveToSave({
|
||||
|
||||
Reference in New Issue
Block a user