Skip to content

fix: row actions on array resources #3863

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

Merged
merged 1 commit into from
May 18, 2025
Merged

Conversation

Paul-Bob
Copy link
Contributor

@Paul-Bob Paul-Bob commented May 18, 2025

Description

Fixes #3859

Changed the method for verifying if an action is active, and for generating the action URL, from using record.persisted? to record.to_param.present?.
This is because, for array-based resources, the record may not be persisted but can still return a valid to_param.

@github-actions github-actions bot added the Fix label May 18, 2025
Copy link

Code Climate has analyzed commit de5315a and detected 0 issues on this pull request.

View more on Code Climate.

@Paul-Bob Paul-Bob self-assigned this May 18, 2025
@Paul-Bob Paul-Bob merged commit 023ced9 into main May 18, 2025
21 checks passed
@Paul-Bob Paul-Bob deleted the fix/row_action_on_array_resource branch May 18, 2025 04:32
Copy link
Contributor

This PR has been merged into main. The functionality will be available in the next release.

Please check the release guide for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Row Control Action not working for Array Resources
1 participant