Skip to content
This repository was archived by the owner on Aug 25, 2021. It is now read-only.

Conversation

@martinpovolny
Copy link
Member

Number of textual summary fixes and improvements:

@miq-bot
Copy link
Member

miq-bot commented May 25, 2018

Checked commits martinpovolny/react-ui-components@1594b0a~...bd19711 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. ⭐

);
};

const renderValue = function renderValue(value, onClick) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a small nitpick. You don't have to write const functionName = function functionName(...), you can replace it with const functionName = (...) => {}. The function definition after the = is useless. I have noticed that you are using this very often.

Copy link
Contributor

Choose a reason for hiding this comment

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

Or you can write just function renderValue(value, onClick) { which is probably the best, if it's not just simple function with one liner as return otherwise go ahead and use const functionName = (...) => ({some: object})

@Hyperkid123
Copy link
Contributor

Seems to be working just fine. Bool values are now visible :)

Copy link
Contributor

@karelhala karelhala left a comment

Choose a reason for hiding this comment

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

Looks good

);
};

const renderValue = function renderValue(value, onClick) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Or you can write just function renderValue(value, onClick) { which is probably the best, if it's not just simple function with one liner as return otherwise go ahead and use const functionName = (...) => ({some: object})

@martinpovolny
Copy link
Member Author

@karelhala, @himdel : can you, please, merge this one?

@karelhala : will you, please, also release a new version with this?

@karelhala karelhala merged commit ce25af6 into ManageIQ:master May 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants