Closed araujoarthur0 closed 2 years ago
The fix should be fairly simple, to call calendar._updateLeaveBy();
on the action that is triggered when removing entries. Would you like to try, @LouisHLAV?
Hey buddy! I'd love to :)
On a similar note, I'm wondering if the Month/Overall balance shouldn't also be updated on the addition or removal of valid entry pairs. But that's another issue hahaha
Cool!
Also, I guess it makes sense. In month view I believe we always update them when a new time is punched. Take month view as the golden one.
Describe the issue In day view, when removing an entry pair, if there are enough entries filled to trigger a balance of the day, it should show up instead of needing a refresh.
To Reproduce Steps to reproduce the behavior:
Environment
Version: 2.0.2-dev Electron: 11.5.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 OS: Windows_NT x64 10.0.22621
Screenshots