HomePhabricator
Diffusion Comm 964adba37cf9

[web] Add `removeUserAvatar` to `EditUserAvatarMenu`

Tags
None
Referenced Files
F597512: 46dbcb.png
Jun 21 2023, 11:30 AM
File Not Attached
Subscribers
None

Description

[web] Add removeUserAvatar to EditUserAvatarMenu

Summary: Sets "Reset to default" menu item onClick to removeUserAvatar which removes the user's avatar.

Test Plan:
Works as expected. User had image avatar, now they have default emoji avatar:

46dbcb.png (994×996 px, 91 KB)

Reviewers: ashoat, ginsu, rohan, kamil, inka, michal

Reviewed By: rohan

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8260

Details

Provenance
atulAuthored on Jun 21 2023, 11:23 AM
Reviewer
rohan
Differential Revision
D8260: [web] Add `removeUserAvatar` to `EditUserAvatarMenu`
Parents
rCOMM0ae4a5478e95: [native] Add missing punctuation to discard changes alert
Branches
Unknown
Tags
Unknown