mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 17:48:49 +01:00
Merge pull request #3061 from marc1006/fix
Fix getStartDayOfWeek once again :)
This commit is contained in:
commit
4c3907bd41
1 changed files with 5 additions and 2 deletions
|
|
@ -530,8 +530,11 @@ Users.helpers({
|
|||
|
||||
getStartDayOfWeek() {
|
||||
const profile = this.profile || {};
|
||||
// default is 'Monday' (1)
|
||||
return profile.startDayOfWeek || 1;
|
||||
if (typeof profile.startDayOfWeek === 'undefined') {
|
||||
// default is 'Monday' (1)
|
||||
return 1;
|
||||
}
|
||||
return profile.startDayOfWeek;
|
||||
},
|
||||
|
||||
getTemplatesBoardId() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue