aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/bug')
-rw-r--r--webui/src/bug/Bug.js8
-rw-r--r--webui/src/bug/LabelChange.js15
2 files changed, 5 insertions, 18 deletions
diff --git a/webui/src/bug/Bug.js b/webui/src/bug/Bug.js
index 3e003567..1b19149d 100644
--- a/webui/src/bug/Bug.js
+++ b/webui/src/bug/Bug.js
@@ -91,12 +91,7 @@ Bug.fragment = gql`
status
title
labels {
- name
- color {
- R
- G
- B
- }
+ ...Label
}
createdAt
author {
@@ -105,6 +100,7 @@ Bug.fragment = gql`
displayName
}
}
+ ${Label.fragment}
`;
export default Bug;
diff --git a/webui/src/bug/LabelChange.js b/webui/src/bug/LabelChange.js
index 73c05c43..1e05b4a6 100644
--- a/webui/src/bug/LabelChange.js
+++ b/webui/src/bug/LabelChange.js
@@ -50,23 +50,14 @@ LabelChange.fragment = gql`
displayName
}
added {
- name
- color {
- R
- G
- B
- }
+ ...Label
}
removed {
- name
- color {
- R
- G
- B
- }
+ ...Label
}
}
}
+ ${Label.fragment}
`;
export default LabelChange;