mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Reset avatar if removed
This commit is contained in:
parent
c64a221453
commit
24566ce853
2 changed files with 12 additions and 4 deletions
|
|
@ -230,8 +230,9 @@ BlazeComponent.extendComponent({
|
|||
'click .js-select-initials'() {
|
||||
this.setAvatar('');
|
||||
},
|
||||
'click .js-delete-avatar'() {
|
||||
'click .js-delete-avatar'(event) {
|
||||
Avatars.remove(this.currentData()._id);
|
||||
event.stopPropagation();
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue