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: 'reset' was not being passed to getDefaultColumnOrderIds #402

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

alessandrojcm
Copy link
Collaborator

Closes #384

@alessandrojcm alessandrojcm added bug Something isn't working V2 Issue with MRT V2 labels Aug 27, 2024
@alessandrojcm alessandrojcm self-assigned this Aug 27, 2024
@alessandrojcm alessandrojcm linked an issue Aug 27, 2024 that may be closed by this pull request
1 task
Copy link

vercel bot commented Aug 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mantine-react-table ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 8:05pm
mantine-react-table-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 8:05pm

@KevinVandy
Copy link
Owner

This potentially isn't necessarily what we want. I think this sets the state as an empty array

@alessandrojcm alessandrojcm mentioned this pull request Aug 29, 2024
1 task
@DKGH
Copy link

DKGH commented Aug 30, 2024

Is this fixed? What version do I need for this?

@KevinVandy
Copy link
Owner

I'm not sure the proposed change is the fix. We may want to call our internal getDefaultColumnOrder until instead.

@alessandrojcm
Copy link
Collaborator Author

alessandrojcm commented Aug 30, 2024

getDefaultColumnOrder un

So is the callback meant to call getDefaultColumnOrder instead of getDefaultColumnOrderIds? What is the expected result when you click the reset button?

@KevinVandy
Copy link
Owner

I'll test this more thoroughly tonight

@KevinVandy KevinVandy merged commit 107556e into v2 Sep 25, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working V2 Issue with MRT V2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reset order button is not working (v2)
3 participants