Change default view to Swimlanes.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2020-06-08 17:28:53 +03:00
parent f935cf391e
commit 8c3322f9a9
4 changed files with 27 additions and 20 deletions

View file

@ -95,7 +95,7 @@ Users.attachSchema(
autoValue() {
if (this.isInsert && !this.isSet) {
return {
boardView: 'board-view-lists',
boardView: 'board-view-swimlanes',
};
}
},
@ -218,8 +218,8 @@ Users.attachSchema(
type: String,
optional: true,
allowedValues: [
'board-view-lists',
'board-view-swimlanes',
'board-view-lists',
'board-view-cal',
],
},
@ -903,7 +903,7 @@ if (Meteor.isServer) {
user.profile = {
initials,
fullname: user.services.oidc.fullname,
boardView: 'board-view-lists',
boardView: 'board-view-swimlanes',
};
user.authenticationMethod = 'oauth2';
@ -961,7 +961,7 @@ if (Meteor.isServer) {
);
} else {
user.profile = { icode: options.profile.invitationcode };
user.profile.boardView = 'board-view-lists';
user.profile.boardView = 'board-view-swimlanes';
// Deletes the invitation code after the user was created successfully.
setTimeout(