Added missing activity Type: restoredList

pull/5197/head
Gustav Engström 2 years ago
parent 4b22f29826
commit bfa15d4719
  1. 11
      models/lists.js

@ -465,6 +465,17 @@ if (Meteor.isServer) {
// list is deleted
title: doc.title,
});
} else {
Activities.insert({
userId,
type: 'list',
activityType: 'restoredList',
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,
});
}
});
}

Loading…
Cancel
Save