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

feature/1229 - Update filing frequency toggle to default based on the filing frequency of the committee #2106

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

sasha-dresden
Copy link
Contributor

Issue FECFILE-1229

@@ -83,7 +83,7 @@ export class CreateF3XStep1Component extends DestroyerComponent implements OnIni
.pipe(takeUntil(this.destroy$))
.subscribe(([committeeAccount, existingCoverage]) => {
this.committeeAccount = committeeAccount;
const filingFrequency = this.userCanSetFilingFrequency ? 'Q' : committeeAccount?.filing_frequency;
const filingFrequency = committeeAccount?.filing_frequency ?? 'Q';
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like the acs are a little more complicated:
if Filing Frequency = Q, A or T, system will default to 'Quarterly Reporting'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah I see what you mean, we wouldn't want to set filingFrequency to 'T'. I updated this logic so now everything that isn't 'M' defaults to 'Q'. That way 'Q', 'A', and 'T' all go to 'Q', but also when it's undefined it goes to 'Q' as well.

Copy link

sonarcloud bot commented Aug 28, 2024

@toddlees toddlees merged commit ac0e486 into develop Sep 6, 2024
5 checks passed
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.

3 participants