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

EDX-1534: Filter by FTE Related Attributes #1259

Merged
merged 2 commits into from
Jan 4, 2024
Merged

Conversation

SodhiA1
Copy link
Contributor

@SodhiA1 SodhiA1 commented Jan 3, 2024

No description provided.

filters.push(this.warningFilter);
filters.push(this.fundingFilter);
filters.push(this.gradeFilter);
if(this.studentTypeFilter?.value?.length > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not...

const filtersToCheck = [this.studentTypeFilter, this.fteFilter ]; // and many others
const filters = filtersToCheck.filter(f => f?.value?.length > 0);

Copy link

sonarcloud bot commented Jan 4, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

1 similar comment
Copy link

sonarcloud bot commented Jan 4, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@trev-dev trev-dev merged commit 6d7d766 into master Jan 4, 2024
7 checks passed
@trev-dev trev-dev deleted the feature/EDX-1433 branch January 4, 2024 20:53
@SodhiA1 SodhiA1 restored the feature/EDX-1433 branch January 4, 2024 21:44
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