mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
Add clickable list titles
This commit is contained in:
parent
6d9928ea8f
commit
52f920db12
4 changed files with 36 additions and 2 deletions
|
|
@ -362,6 +362,20 @@ Meteor.methods({
|
|||
const list = Lists.findOne({ _id: listId });
|
||||
list.toggleSoftLimit(!list.getWipLimit('soft'));
|
||||
},
|
||||
|
||||
myLists() {
|
||||
// my lists
|
||||
return _.uniq(
|
||||
Lists.find(
|
||||
{ boardId: { $in: Boards.userBoardIds(this.userId) } },
|
||||
{ fields: { title: 1 } },
|
||||
)
|
||||
.fetch()
|
||||
.map(list => {
|
||||
return list.title;
|
||||
}),
|
||||
);
|
||||
},
|
||||
});
|
||||
|
||||
Lists.hookOptions.after.update = { fetchPrevious: false };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue