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

[Task] VX-272: Use table to list the nodes. #3

Merged
merged 5 commits into from
Aug 20, 2018
Merged

Conversation

WakeupTsai
Copy link
Contributor

No description provided.

numerator.toString() +
' (' +
((numerator / denominator) * 100).toFixed(2).toString() +
'%)'
Copy link
Contributor

@chenyunchen chenyunchen Aug 20, 2018

Choose a reason for hiding this comment

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

`${numerator.toString()} (${((numerator / denominator) * 100).toFixed(2).toString()}%)`

),
age: moment(
new Date(this.props.nodes[node].detail.createAt * 1000)
).fromNow()
Copy link
Contributor

@chenyunchen chenyunchen Aug 20, 2018

Choose a reason for hiding this comment

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

moment(this.props.nodes[node].detail.createAt * 1000).fromNow()

((numerator / denominator) * 100).toFixed(2).toString() +
'%)'
);
};
Copy link
Contributor

Choose a reason for hiding this comment

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

`${formatBytes(numerator)} (${((numerator / denominator) * 100).toFixed(2).toString()}%)`

Copy link
Contributor

@LucienLee LucienLee left a comment

Choose a reason for hiding this comment

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

please put
const TabPane = Tabs.TabPane; under interface declaration

<Row>
<Col span={12}>
{this.renderListItemContent(
<FormattedMessage id={`node.detail.createdAt`} />,
Copy link
Contributor

Choose a reason for hiding this comment

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

if you don't have concat variable, just use plan single quote rather than literal template.

Copy link
Contributor

Choose a reason for hiding this comment

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

and also could remove bracket.

@LucienLee LucienLee merged commit 82f41bd into develop Aug 20, 2018
@LucienLee LucienLee deleted the phstsai/VX-272 branch August 20, 2018 10:34
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.

3 participants