diff options
Diffstat (limited to 'webui/src/pages/identity')
-rw-r--r-- | webui/src/pages/identity/GetBugsByUser.graphql | 20 | ||||
-rw-r--r-- | webui/src/pages/identity/GetUserStatistic.graphql | 8 |
2 files changed, 16 insertions, 12 deletions
diff --git a/webui/src/pages/identity/GetBugsByUser.graphql b/webui/src/pages/identity/GetBugsByUser.graphql index 0f170dc1..38f139ab 100644 --- a/webui/src/pages/identity/GetBugsByUser.graphql +++ b/webui/src/pages/identity/GetBugsByUser.graphql @@ -1,12 +1,12 @@ -query GetBugsByUser ($query: String){ - repository { - allBugs(query: $query) { - nodes { - id - title - createdAt - lastEdit - } - } +query GetBugsByUser($query: String) { + repository { + allBugs(query: $query) { + nodes { + id + title + createdAt + lastEdit + } } + } } diff --git a/webui/src/pages/identity/GetUserStatistic.graphql b/webui/src/pages/identity/GetUserStatistic.graphql index 318b860d..a7598320 100644 --- a/webui/src/pages/identity/GetUserStatistic.graphql +++ b/webui/src/pages/identity/GetUserStatistic.graphql @@ -1,8 +1,12 @@ -query GetUserStatistic($authorQuery: String!, $participantQuery: String!, $actionQuery: String!) { +query GetUserStatistic( + $authorQuery: String! + $participantQuery: String! + $actionQuery: String! +) { repository { authored: allBugs(query: $authorQuery) { totalCount - }, + } participated: allBugs(query: $participantQuery) { totalCount } |