From 1c2ee10ce7a32df892604846279c7e199ce0ccea Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 22 May 2019 21:46:43 +0200 Subject: graphql: Implement `Authored` whenever possible webui: Use a fragment for Authored nodes --- webui/src/list/BugRow.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'webui/src/list/BugRow.js') diff --git a/webui/src/list/BugRow.js b/webui/src/list/BugRow.js index cfac4616..c5fc7647 100644 --- a/webui/src/list/BugRow.js +++ b/webui/src/list/BugRow.js @@ -9,6 +9,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; import Date from '../Date'; import Label from '../Label'; +import Author from '../Author'; const Open = ({ className }) => ( @@ -97,12 +98,11 @@ BugRow.fragment = gql` labels { ...Label } - author { - name - displayName - } + ...authored } + ${Label.fragment} + ${Author.fragment} `; export default BugRow; -- cgit