mirror of
https://github.com/wekan/wekan.git
synced 2026-03-07 14:20:15 +01:00
Fixed unable to delete Avatar, with Meteor 3 compatible avatar and attachments fixes.
Thanks to inDane and xet7 ! Fixes #6160
This commit is contained in:
parent
326f9bed84
commit
274f1309c3
3 changed files with 83 additions and 6 deletions
|
|
@ -267,10 +267,9 @@ BlazeComponent.extendComponent({
|
|||
event.stopPropagation();
|
||||
this.setAvatar('');
|
||||
},
|
||||
'click .js-delete-avatar': Popup.afterConfirm('deleteAvatar', function(event) {
|
||||
'click .js-delete-avatar': Popup.afterConfirm('deleteAvatar', function() {
|
||||
Avatars.remove(this._id);
|
||||
Popup.back();
|
||||
event.stopPropagation();
|
||||
}),
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue