From a918d36533bd61765f954f60c0e3af78b014907a Mon Sep 17 00:00:00 2001 From: amadilsons Date: Fri, 29 Sep 2017 16:52:53 +0200 Subject: mostly frontend work, lists coll update with wipLimit field --- models/lists.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'models') diff --git a/models/lists.js b/models/lists.js index 80accefb..837af73c 100644 --- a/models/lists.js +++ b/models/lists.js @@ -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 }; -- cgit v1.2.3-1-g7c22