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

Fixes #30607 - replace mount_react_component in Slot #7936

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

amirfefer
Copy link
Member

No description provided.

@theforeman-bot
Copy link
Member

Issues: #30607

content_tag :div, nil, {id: slot_id} do
mount_react_component('Slot', "##{slot_id}", { id: slot_id, multi: multi }.merge(additional_props).to_json, { flatten_data: true })
end
react_component('Slot', { id: slot_id, multi: multi }.merge(additional_props).to_json)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
react_component('Slot', { id: slot_id, multi: multi }.merge(additional_props).to_json)
react_component('Slot', { id: slot_id, multi: multi }.merge(additional_props))

@amirfefer
Copy link
Member Author

Thanks @ezr-ondrej, done :)

Copy link
Member

@ezr-ondrej ezr-ondrej left a comment

Choose a reason for hiding this comment

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

Thanks @amirfefer ! 👍

@ezr-ondrej ezr-ondrej merged commit 2f47487 into theforeman:develop Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants