aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/BugSummary.js
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2018-07-22 01:13:06 +0200
committerQuentin Gliech <quentingliech@gmail.com>2018-07-22 01:13:06 +0200
commit6d8559048f9dcbac4ee9f65de54bda4cd1a7431c (patch)
tree4bf2bcb127924ed3265c68bd9beb4baa24def432 /webui/src/BugSummary.js
parent50fd2943acac8685db92a016ee3c9dbfc95842cf (diff)
downloadgit-bug-6d8559048f9dcbac4ee9f65de54bda4cd1a7431c.tar.gz
webui: Basic bug list
Diffstat (limited to 'webui/src/BugSummary.js')
-rw-r--r--webui/src/BugSummary.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/webui/src/BugSummary.js b/webui/src/BugSummary.js
index 461fe2d0..469ab9a8 100644
--- a/webui/src/BugSummary.js
+++ b/webui/src/BugSummary.js
@@ -1,4 +1,5 @@
import React from "react";
+import { Link } from "react-router-dom";
import gql from "graphql-tag";
import { withStyles } from "@material-ui/core/styles";
@@ -28,7 +29,8 @@ const BugSummary = ({ bug, classes }) => (
{bug.title}
</Typography>
<Typography variant="subheading" component="h3" title={bug.id}>
- #{bug.id.slice(0, 8)} • {bug.status.toUpperCase()}
+ <Link to={"/bug/" + bug.id.slice(0, 8)}>#{bug.id.slice(0, 8)}</Link> •{" "}
+ {bug.status.toUpperCase()}
</Typography>
<div className={classes.labelList}>
{bug.labels.map(label => (