mostly frontend work, lists coll update with wipLimit field

This commit is contained in:
amadilsons 2017-09-29 16:52:53 +02:00
parent c9c650664f
commit a918d36533
7 changed files with 46 additions and 16 deletions

View file

@ -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 };