Commit cc0a15b4 authored by Felix Freiberger's avatar Felix Freiberger
Browse files

Merge branch 'master' of...

Merge branch 'master' of ssh://dgit.cs.uni-saarland.de:2222/np/2020/np-ss20-project-visualizer into master
parents f3043c10 f9eab4a8
Pipeline #23513 passed with stages
in 1 minute and 43 seconds
......@@ -375,7 +375,19 @@ const LeaderboardPage: React.FC<{}> = () => {
<td>{ data.private && data.testResults && record.projectName ? <Fragment>
<OverlayTrigger trigger="click" placement="bottom" rootClose={true} overlay={<Popover id={`details-popover-${record.projectName}`} className="leaderboard-details-popover">
<Popover.Title>
{ record.projectName }
{ record.projectName }{' '}
<Button
variant="light"
size="sm"
onClick={() => {
if (data.testResults && record.projectName) {
const d = data.testResults[record.projectName];
navigator.clipboard.writeText(JSON.stringify(d, null, 4));
}
}}
>
📋
</Button>
</Popover.Title>
<Popover.Content>
<pre>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment