Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] Add delete profile photo button #110

Merged
merged 1 commit into from
Sep 14, 2020
Merged

[1.x] Add delete profile photo button #110

merged 1 commit into from
Sep 14, 2020

Conversation

miguilimzero
Copy link
Contributor

Add a button next to "Select a new Photo" that will have the function of delete the current photo and return to the Jetstream default profile photo.

This can be good if an user want to remove your photo temporarily or if the person want to use the default jetstream photo.

A more interesting case would be if the site had been modified the jetstream to use Gravatar and the user want to use he/she Gravatar profile photo.

@miguilimzero
Copy link
Contributor Author

@hebbet There is no route for livewire since the delete function it's on component class.

@driesvints driesvints changed the title Add delete profile photo button [1.x] Add delete profile photo button Sep 9, 2020
@taylorotwell taylorotwell merged commit c6c7298 into laravel:1.x Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants