Skip to content

Commit

Permalink
Fix thamara#244: waiver opens with filled date when clicking from cal…
Browse files Browse the repository at this point in the history
…endar (thamara#262)
  • Loading branch information
araujoarthur0 committed Jun 5, 2020
1 parent cb4cee1 commit 2f33cd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fix: [#229] Count Today in totals no longer causes problem in the month balance
- Fix: [#239] Punch button is disabled when current day is waived
- Fix: [#240] Waiver using electron dialog instead of js confirm/alert
- Fix: [#244] Waiver opens with filled date when clicking from calendar
- Fix: [#249] Fix loading preferences
- Fix: [#250] Silently ignoring waiver on non-working day or non-working day range
- Fix: [#252] Prevent multiple preferences and workday waiver windows to be opened
Expand Down
6 changes: 1 addition & 5 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ ipcMain.on('PREFERENCE_SAVE_DATA_NEEDED', (event, preferences) => {
});

ipcMain.on('SET_WAIVER_DAY', (event, waiverDay) => {
/*eslint-disable no-undef*/
if (!isNaN(waiverDay))
{
global.waiverDay = waiverDay;
}
global.waiverDay = waiverDay;
});

// Keep a global reference of the window object, if you don't, the window will
Expand Down

0 comments on commit 2f33cd2

Please sign in to comment.