diff options
author | Marc Hartmayer <hello@hartmayer.com> | 2020-04-28 20:50:55 +0200 |
---|---|---|
committer | Marc Hartmayer <hello@hartmayer.com> | 2020-04-28 20:56:11 +0200 |
commit | 153d729544fb5bbfa5fa40d236303cbc01352334 (patch) | |
tree | d8a9bb4262152643875fe59d647e58337a3dab9a /client/lib/cssEvents.js | |
parent | 3d5abd60ccf3e0884a0346ec4a559ff5aa484b51 (diff) | |
download | wekan-153d729544fb5bbfa5fa40d236303cbc01352334.tar.gz wekan-153d729544fb5bbfa5fa40d236303cbc01352334.tar.bz2 wekan-153d729544fb5bbfa5fa40d236303cbc01352334.zip |
Fix getStartDayOfWeek function
In case profile.startDayOfWeek is 0 it's evaluated to false and 1 is returned.
Let's fix this by differentiating between undefined and an actual value.
Fixes: 9ae20a3f51e63c29f536e2f5b3e66a2c7d88c691
Diffstat (limited to 'client/lib/cssEvents.js')
0 files changed, 0 insertions, 0 deletions