mirror of
https://github.com/wekan/wekan.git
synced 2026-03-09 07:02:34 +01:00
Move every Activities.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
This commit is contained in:
parent
6b7b464acc
commit
08e3ca3435
2 changed files with 2 additions and 2 deletions
|
|
@ -217,7 +217,7 @@ if (Meteor.isServer) {
|
|||
listId: card.listId,
|
||||
swimlaneId: card.swimlaneId,
|
||||
});
|
||||
const activity = Activities.findOne({ commentId: doc._id });
|
||||
const activity = ReactiveCache.getActivity({ commentId: doc._id });
|
||||
if (activity) {
|
||||
Activities.remove(activity._id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue