mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
mostly frontend work, lists coll update with wipLimit field
This commit is contained in:
parent
c9c650664f
commit
a918d36533
7 changed files with 46 additions and 16 deletions
|
|
@ -42,7 +42,6 @@ Lists.attachSchema(new SimpleSchema({
|
|||
}
|
||||
},
|
||||
},
|
||||
|
||||
wipLimit: {
|
||||
type: SimpleSchema.Integer,
|
||||
optional: true,
|
||||
|
|
@ -91,6 +90,10 @@ Lists.mutations({
|
|||
restore() {
|
||||
return { $set: { archived: false } };
|
||||
},
|
||||
|
||||
setWipLimit(limit) {
|
||||
return { $set: { wipLimit: limit } };
|
||||
},
|
||||
});
|
||||
|
||||
Lists.hookOptions.after.update = { fetchPrevious: false };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue