mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Try to fix: Can't delete attachment.
Thanks to luistiktok and xet7 ! Fixes #4012
This commit is contained in:
parent
0bdc3d04b4
commit
889ec1339a
1 changed files with 3 additions and 1 deletions
|
@ -153,7 +153,9 @@ if (Meteor.isServer) {
|
|||
}
|
||||
if (activity.listId) {
|
||||
const list = activity.list();
|
||||
watchers = _.union(watchers, list.watchers || []);
|
||||
if (list.watchers !== undefined) {
|
||||
watchers = _.union(watchers, list.watchers || []);
|
||||
}
|
||||
params.list = list.title;
|
||||
params.listId = activity.listId;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue