aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/LabelChange.js
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-05-16 20:46:30 +0200
committerQuentin Gliech <quentingliech@gmail.com>2019-05-22 20:38:00 +0200
commit511ef0105cbc6a08298cd63320283bf41090d4e3 (patch)
tree665a66ebb6aca07a7e82364161263f10b8075e33 /webui/src/bug/LabelChange.js
parentaf8216cf35855c39787c920316308a313ceea2c2 (diff)
downloadgit-bug-511ef0105cbc6a08298cd63320283bf41090d4e3.tar.gz
Webui: use grahql response to create labels colors
Diffstat (limited to 'webui/src/bug/LabelChange.js')
-rw-r--r--webui/src/bug/LabelChange.js18
1 files changed, 16 insertions, 2 deletions
diff --git a/webui/src/bug/LabelChange.js b/webui/src/bug/LabelChange.js
index 76b6e6e2..73c05c43 100644
--- a/webui/src/bug/LabelChange.js
+++ b/webui/src/bug/LabelChange.js
@@ -49,8 +49,22 @@ LabelChange.fragment = gql`
email
displayName
}
- added
- removed
+ added {
+ name
+ color {
+ R
+ G
+ B
+ }
+ }
+ removed {
+ name
+ color {
+ R
+ G
+ B
+ }
+ }
}
}
`;