diff options
author | amadilsons <joao.amado.95@gmail.com> | 2017-09-29 16:52:53 +0200 |
---|---|---|
committer | amadilsons <joao.amado.95@gmail.com> | 2017-09-29 16:52:53 +0200 |
commit | a918d36533bd61765f954f60c0e3af78b014907a (patch) | |
tree | e3c54f048ca5ef1470476aa917fbe3abd088b41a /models | |
parent | c9c650664fd92f0924afb4548a50c7bca167d955 (diff) | |
download | wekan-a918d36533bd61765f954f60c0e3af78b014907a.tar.gz wekan-a918d36533bd61765f954f60c0e3af78b014907a.tar.bz2 wekan-a918d36533bd61765f954f60c0e3af78b014907a.zip |
mostly frontend work, lists coll update with wipLimit field
Diffstat (limited to 'models')
-rw-r--r-- | models/lists.js | 5 |
1 files changed, 4 insertions, 1 deletions
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 }; |