mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Added missing activity Type: restoredList
This commit is contained in:
parent
4b22f29826
commit
bfa15d4719
1 changed files with 11 additions and 0 deletions
|
@ -465,6 +465,17 @@ if (Meteor.isServer) {
|
||||||
// list is deleted
|
// list is deleted
|
||||||
title: doc.title,
|
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…
Add table
Add a link
Reference in a new issue