Merge pull request #3038 from marc1006/fix

Fix getStartDayOfWeek function
This commit is contained in:
Lauri Ojansivu 2020-04-23 14:14:09 +03:00 committed by GitHub
commit 07c915ccf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -530,7 +530,8 @@ Users.helpers({
getStartDayOfWeek() {
const profile = this.profile || {};
return profile.startDayOfWeek || 1;
// default is 'Monday' (1)
return profile.startDayOfWeek ?? 1;
},
getTemplatesBoardId() {