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

Update filterByTypeCallback #2962

Merged
merged 2 commits into from
Nov 7, 2022
Merged

Update filterByTypeCallback #2962

merged 2 commits into from
Nov 7, 2022

Conversation

joshri
Copy link
Contributor

@joshri joshri commented Nov 2, 2022

Closes #2959

We had a special method for filtering type in the ReconciledObjectsTable that isn't needed anymore - especially since it breaks things now. Removed. I removed the specific test for it as well (we're already testing filtering type as a string from key 'type'). Also removed from exports - I checked the enterprise repo and it's not being used there so we should be good.

image

@joshri joshri added the area/ui Issues that require front-end work label Nov 2, 2022
Copy link
Contributor

@jpellizzari jpellizzari left a comment

Choose a reason for hiding this comment

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

Code LGTM. @joshri Why don't we need the method for reconciled objects?

@joshri
Copy link
Contributor Author

joshri commented Nov 7, 2022

Code LGTM. @joshri Why don't we need the method for reconciled objects?

The method was looking at a specific field - but all reconciled objects have been slotted into the FluxObject class, so we can just look at the type field and be good to go!

@joshri joshri merged commit 04834f4 into main Nov 7, 2022
@joshri joshri deleted the 2959-filter-bug branch November 7, 2022 14:12
This was referenced Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Issues that require front-end work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to filter on Type in Applications details page
3 participants