Skip to content

Fix issue with the clear image button on the account edit screen

The "clear image" button was always visible even when the user didn't have an avatar. From the code it looks like the intention was to only make that button visible if they had an avatar image.

The issue was that .length was being called on an object.

Now the clear image button will only be visible if the user has an avatar (local or saved).

no_image with_image

Edited by Jose Flores

Merge request reports