mirror of
https://github.com/wekan/wekan.git
synced 2025-12-20 09:20:12 +01:00
Change default view to Swimlanes.
Thanks to xet7 !
This commit is contained in:
parent
f935cf391e
commit
8c3322f9a9
4 changed files with 27 additions and 20 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue