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

Disable 'e'-key binding when exportable is set to false #2

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

LoranKloeze
Copy link

When setting exportable false in the ActionTable, the export button is not rendered.
That works as expected. What does not work as expected, is that you can still export the table using the e-key.
This PR fixes this by checking if the export button is rendered before exporting.

@ahmeij
Copy link
Contributor

ahmeij commented Dec 29, 2021

Good change, thanks!

We should also update the ActionTable gem to not be able to export at all if this is set to false, else there is still a way to automate this, I'll make an issue for that.

@ahmeij ahmeij merged commit 191b398 into master Apr 11, 2022
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