Skip to content

Commit

Permalink
Merge pull request #578 from nhn/fix/issue-463
Browse files Browse the repository at this point in the history
fix: check defined properties on beforeUpdateSchedule(fix #463)
  • Loading branch information
jungeun-cho authored Apr 23, 2020
2 parents f729fc1 + 66f71c7 commit 3641c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/common/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ module.exports = {
if (datetime.compare(schedule[propName], data[propName])) {
changes[propName] = data[propName];
}
} else if (data[propName] && schedule[propName] !== data[propName]) {
} else if (!util.isUndefined(data[propName]) && schedule[propName] !== data[propName]) {
changes[propName] = data[propName];
}
});
Expand Down

0 comments on commit 3641c67

Please sign in to comment.