Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix mapped state string

Oliver Günther493a772f5524
diff --git a/modules/github_integration/frontend/module/pull-request/pull-request.component.ts b/modules/github_integration/frontend/module/pull-request/pull-request.component.ts
index cfaa782077e..b6dca4e4604 100644
--- a/modules/github_integration/frontend/module/pull-request/pull-request.component.ts
+++ b/modules/github_integration/frontend/module/pull-request/pull-request.component.ts
@@ -69,7 +69,7 @@ export class PullRequestComponent {
get state():string {
if (this.pullRequest.state === 'open') {
- return (this.pullRequest.draft ? 'draft' : 'open');
+ return (this.pullRequest.draft ? 'draft' : 'opened');
}
return (this.pullRequest.merged ? 'merged' : 'closed');
}