@@ -21,14 +21,14 @@ var WebUIAssets = func() http.FileSystem {
fs := vfsgen۰FS{
"/": &vfsgen۰DirInfo{
name: "/",
- modTime: time.Date(2019, 5, 22, 18, 37, 30, 890029596, time.UTC),
+ modTime: time.Date(2019, 5, 22, 18, 40, 14, 550155033, time.UTC),
},
"/asset-manifest.json": &vfsgen۰CompressedFileInfo{
name: "asset-manifest.json",
- modTime: time.Date(2019, 5, 22, 18, 37, 30, 890848047, time.UTC),
+ modTime: time.Date(2019, 5, 22, 18, 40, 14, 551035575, time.UTC),
uncompressedSize: 869,
@@ -1,4 +1,5 @@
import React from 'react';
+import gql from 'graphql-tag';
import { makeStyles } from '@material-ui/styles';
import {
getContrastRatio,
@@ -46,4 +47,15 @@ function Label({ label }) {
);
}
+Label.fragment = gql`
+ fragment Label on Label {
+ name
+ color {
+ R
+ G
+ B
+ }
+ }
+`;
+
export default Label;
@@ -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;