Revert exclusion of closed PRs

- state was more confusing when commit is integrated
This commit is contained in:
Mattias Granlund 2023-12-23 18:12:48 +02:00
parent da9a64c817
commit 56b50af8ae

View File

@ -128,9 +128,7 @@ export class GitHubService {
get(branch: string | undefined): Observable<PullRequest | undefined> | undefined {
if (!branch) return;
return this.prs$.pipe(
map((prs) => prs.find((pr) => pr.targetBranch == branch && !pr.mergedAt))
);
return this.prs$.pipe(map((prs) => prs.find((pr) => pr.targetBranch == branch)));
}
/* TODO: Figure out a way to cleanup old behavior subjects */