summaryrefslogtreecommitdiffstats
path: root/models/activities.js
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-09-06 00:17:45 +0200
committerAndrés Manelli <andresmanelli@gmail.com>2018-09-06 00:23:50 +0200
commite74fb2f5b08b4e033dca71cbfb4b99e91ee142eb (patch)
tree3bffc7f201aa0269a027429b8133d63bf6b63be6 /models/activities.js
parentf346ce04f58c1e44ec2d58df409b7558fd33b91e (diff)
downloadwekan-e74fb2f5b08b4e033dca71cbfb4b99e91ee142eb.tar.gz
wekan-e74fb2f5b08b4e033dca71cbfb4b99e91ee142eb.tar.bz2
wekan-e74fb2f5b08b4e033dca71cbfb4b99e91ee142eb.zip
Add swimlaneId in activity. Create default swimlaneId in API
Diffstat (limited to 'models/activities.js')
-rw-r--r--models/activities.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/models/activities.js b/models/activities.js
index 5b54759c..2228f66e 100644
--- a/models/activities.js
+++ b/models/activities.js
@@ -117,6 +117,9 @@ if (Meteor.isServer) {
params.url = card.absoluteUrl();
params.cardId = activity.cardId;
}
+ if (activity.swimlaneId) {
+ params.swimlaneId = activity.swimlaneId;
+ }
if (activity.commentId) {
const comment = activity.comment();
params.comment = comment.text;