Skip to content

Commit 1e1383f

Browse files
committedSep 18, 2020
fix: benchmark json file path and add service config.json
1 parent 54fdbcb commit 1e1383f

File tree

1 file changed

+12
-1
lines changed
  • src/components/widgets/Benchmark/components/MultiTitle

1 file changed

+12
-1
lines changed
 

‎src/components/widgets/Benchmark/components/MultiTitle/TitleItem.js

+12-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ class TitleItem extends React.Component {
1313
handleRepositoryVisibility
1414
} = this.props;
1515

16+
const benchmarkHref = service.benchmarksPath + benchmark.href;
17+
1618
return (
1719
<tr>
1820
<td>{service.name}</td>
@@ -30,12 +32,21 @@ class TitleItem extends React.Component {
3032
<td>
3133
<a
3234
className="badge badge-dark"
33-
href={benchmark.href}
35+
href={benchmarkHref}
3436
target="_blank"
3537
rel="noopener noreferrer"
3638
>
3739
{benchmark.href}
3840
</a>
41+
<br/>
42+
<a
43+
className="badge badge-dark"
44+
href={service.path + "config.json"}
45+
target="_blank"
46+
rel="noopener noreferrer"
47+
>
48+
config.json
49+
</a>
3950
</td>
4051
<td>
4152
<i

0 commit comments

Comments
 (0)