Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

add tooltip when there is no data in overview table #2318

Merged
merged 2 commits into from
Apr 20, 2020
Merged

add tooltip when there is no data in overview table #2318

merged 2 commits into from
Apr 20, 2020

Conversation

Lijiaoa
Copy link
Contributor

@Lijiaoa Lijiaoa commented Apr 15, 2020

@@ -55,6 +56,15 @@ class SuccessTable extends React.Component<SuccessTableProps, SuccessTableState>
return items.slice(0).sort((a: T, b: T) => ((isSortedDescending ? a[key] < b[key] : a[key] > b[key]) ? 1 : -1));
}

private tooltipStr = (): React.ReactNode => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I suppose this can be a variable instead of a function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK!

@QuanluZhang QuanluZhang requested a review from SparkSnail April 19, 2020 14:04
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