mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix #1567
This commit is contained in:
parent
c12e003fd3
commit
e5995477b8
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