summaryrefslogtreecommitdiffstats
path: root/models/lists.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-04-02 01:09:35 +0300
committerLauri Ojansivu <x@xet7.org>2020-04-02 01:09:35 +0300
commite34f240c35b6eaec3e3ac2830129ddf914de5feb (patch)
tree9185e821c0e24cd1c9ae55da416d30b974035c31 /models/lists.js
parent56667112d7fd146a9847794207e9a2224b1115d7 (diff)
parent8ea86ae0b9e4351b935fde45c77f37d09778739d (diff)
downloadwekan-e34f240c35b6eaec3e3ac2830129ddf914de5feb.tar.gz
wekan-e34f240c35b6eaec3e3ac2830129ddf914de5feb.tar.bz2
wekan-e34f240c35b6eaec3e3ac2830129ddf914de5feb.zip
Merge branch 'jtbairdsr-master'
Diffstat (limited to 'models/lists.js')
-rw-r--r--models/lists.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/models/lists.js b/models/lists.js
index f06b15b1..b123ab4f 100644
--- a/models/lists.js
+++ b/models/lists.js
@@ -369,6 +369,9 @@ if (Meteor.isServer) {
activityType: 'createList',
boardId: doc.boardId,
listId: doc._id,
+ // this preserves the name so that the activity can be useful after the
+ // list is deleted
+ title: doc.title,
});
});
@@ -397,6 +400,9 @@ if (Meteor.isServer) {
activityType: 'archivedList',
listId: doc._id,
boardId: doc.boardId,
+ // this preserves the name so that the activity can be useful after the
+ // list is deleted
+ title: doc.title,
});
}
});