aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/Bug.js
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/bug/Bug.js')
-rw-r--r--webui/src/bug/Bug.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/webui/src/bug/Bug.js b/webui/src/bug/Bug.js
index 829a4af2..1b19149d 100644
--- a/webui/src/bug/Bug.js
+++ b/webui/src/bug/Bug.js
@@ -74,7 +74,7 @@ function Bug({ bug }) {
<ul className={classes.labelList}>
{bug.labels.map(l => (
<li className={classes.label}>
- <Label label={l} key={l} />
+ <Label label={l} key={l.name} />
</li>
))}
</ul>
@@ -90,7 +90,9 @@ Bug.fragment = gql`
humanId
status
title
- labels
+ labels {
+ ...Label
+ }
createdAt
author {
email
@@ -98,6 +100,7 @@ Bug.fragment = gql`
displayName
}
}
+ ${Label.fragment}
`;
export default Bug;