diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-05 18:09:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-05 18:09:59 +0300 |
commit | 71da5de44f7e30be58ff1563d3d8de697e0d20c0 (patch) | |
tree | b8bcdf7ef2c92e5da7f6f874ad3dddf00e6ef3ef /app/assets/javascripts/incidents | |
parent | 25bfb256b3bf17e85eda745d1bc193176b7fedf0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/incidents')
-rw-r--r-- | app/assets/javascripts/incidents/components/incidents_list.vue | 2 | ||||
-rw-r--r-- | app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/incidents/components/incidents_list.vue b/app/assets/javascripts/incidents/components/incidents_list.vue index 7011b808f9e..3291f2aa8b6 100644 --- a/app/assets/javascripts/incidents/components/incidents_list.vue +++ b/app/assets/javascripts/incidents/components/incidents_list.vue @@ -92,7 +92,7 @@ export default { searchTerm: this.searchTerm, state: this.stateFilter, projectPath: this.projectPath, - labelNames: ['incident'], + issueTypes: ['INCIDENT'], firstPageSize: this.pagination.firstPageSize, lastPageSize: this.pagination.lastPageSize, prevPageCursor: this.pagination.prevPageCursor, diff --git a/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql b/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql index c0942b629e5..789086ab43c 100644 --- a/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql +++ b/app/assets/javascripts/incidents/graphql/queries/get_incidents.query.graphql @@ -1,6 +1,6 @@ query getIncidents( $projectPath: ID! - $labelNames: [String] + $issueTypes: [IssueType!] $state: IssuableState $firstPageSize: Int $lastPageSize: Int @@ -12,7 +12,7 @@ query getIncidents( issues( search: $searchTerm state: $state - labelName: $labelNames + types: $issueTypes first: $firstPageSize last: $lastPageSize after: $nextPageCursor |