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(bodies): allow empty foundation date. Fixes HELP-1789 #1184

Merged
merged 2 commits into from
Oct 22, 2021

Conversation

WikiRik
Copy link
Member

@WikiRik WikiRik commented Oct 18, 2021

Also fixed two issues with error messages when creating/editing bodies

Core PR for this is AEGEE/core#371

@WikiRik WikiRik requested a review from a team October 18, 2021 12:12
@WikiRik WikiRik requested review from a team and removed request for a team October 22, 2021 18:09
@@ -246,6 +252,10 @@ export default {
this.body.founded_at = moment(this.foundationDate).format('YYYY-MM-DD')
},
saveBody () {
if (['antenna', 'contact antenna', 'contact'].includes(this.body.type) && !this.body.founded_at) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@serge1peshcoff this good enough? Or do you also want to check if it's a valid date?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should work good I'd say

@WikiRik WikiRik merged commit b5a22f6 into master Oct 22, 2021
@WikiRik WikiRik deleted the allow-null-foundation-date branch October 22, 2021 20:51
serge1peshcoff pushed a commit that referenced this pull request Oct 22, 2021
## [1.33.1](1.33.0...1.33.1) (2021-10-22)

### Bug Fixes

* **bodies:** allow empty foundation date. Fixes HELP-1789 ([#1184](#1184)) ([b5a22f6](b5a22f6))
@serge1peshcoff
Copy link
Member

🎉 This PR is included in version 1.33.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants