Skip to content

Commit

Permalink
fix: check defined properties on beforeUpdateSchedule(fix #463)
Browse files Browse the repository at this point in the history
  • Loading branch information
jungeun-cho committed Apr 21, 2020
1 parent f729fc1 commit 66f71c7
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 66f71c7

Please sign in to comment.