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(toggle-bool-builder): show if update action is enabled only #306

Merged
merged 1 commit into from
May 29, 2020

Conversation

ldlsegovia
Copy link
Contributor

toggle bool selector must disappear if update option is disabled.

ActiveAdmin.register Invoice do
  actions :index

  index do
    toggle_bool_column :active
  end
end

image

toggle bool selector must disappear if update option is disabled.

ActiveAdmin.register Invoice do
  actions :index, :update

  index do
    toggle_bool_column :active
  end
end

image

@ldlsegovia ldlsegovia force-pushed the toggle-builder-bug branch from c4ffbd2 to 98eca52 Compare May 24, 2020 17:32
@ldlsegovia ldlsegovia requested a review from jgmontoya May 26, 2020 21:20
Copy link
Contributor

@jgmontoya jgmontoya left a comment

Choose a reason for hiding this comment

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

Se ve bien

@ldlsegovia ldlsegovia merged commit fe59a0a into master May 29, 2020
@ldlsegovia ldlsegovia deleted the toggle-builder-bug branch May 29, 2020 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants