mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
Merge branch 'viewProfile' of https://github.com/andresmanelli/wekan into andresmanelli-viewProfile
This commit is contained in:
commit
02e8749540
8 changed files with 44 additions and 38 deletions
|
|
@ -208,3 +208,14 @@ Migrations.add('add-checklist-items', () => {
|
|||
);
|
||||
});
|
||||
});
|
||||
|
||||
Migrations.add('add-profile-view', () => {
|
||||
Users.find().forEach((user) => {
|
||||
// Set default view
|
||||
Users.direct.update(
|
||||
{ _id: user._id },
|
||||
{ $set: { 'profile.boardView': 'board-view-lists' } },
|
||||
noValidate
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue