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

fix: 6023 Allow empty completed_at task date #6025

Merged

Conversation

SimonVanacco
Copy link

Fixes #6023

Currently the code crashes if a contact has a non-completed task, as DateHelper::getShortDate requires a non-null Carbon object.

This PR allows the completed_at value to be null without a crash.

@asbiin asbiin merged commit d4504e3 into monicahq:main Mar 6, 2022
@asbiin
Copy link
Member

asbiin commented Mar 6, 2022

Thank you @SimonVanacco

@TheFox TheFox mentioned this pull request Dec 3, 2022
@github-actions
Copy link

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding Task on contact disappears on page refresh.
2 participants