We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad5bff6 commit 91c7c02Copy full SHA for 91c7c02
2 files changed
src/renderer/utils/api/client.ts
@@ -250,6 +250,7 @@ export async function searchDiscussions(
250
firstDiscussions: 1,
251
lastComments: 1,
252
lastReplies: 1,
253
+ firstLabels: 100,
254
includeIsAnswered: isAnsweredDiscussionFeatureSupported(
255
notification.account,
256
),
src/renderer/utils/api/graphql/discussions.ts
@@ -27,6 +27,7 @@ export const QUERY_SEARCH_DISCUSSIONS = gql`
27
$firstDiscussions: Int
28
$lastComments: Int
29
$lastReplies: Int
30
+ $firstLabels: Int
31
$includeIsAnswered: Boolean!
32
) {
33
search(query: $queryStatement, type: DISCUSSION, first: $firstDiscussions) {
@@ -51,7 +52,7 @@ export const QUERY_SEARCH_DISCUSSIONS = gql`
51
52
}
53
54
- labels {
55
+ labels(first: $firstLabels) {
56
nodes {
57
name
58
0 commit comments