Added missing activity Type: restoredList

This commit is contained in:
Gustav Engström 2023-11-12 09:59:35 +01:00
parent 4b22f29826
commit bfa15d4719

View file

@ -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,
});
}
});
}