mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-05 08:29:30 +03:00
Revert exclusion of closed PRs
- state was more confusing when commit is integrated
This commit is contained in:
parent
da9a64c817
commit
56b50af8ae
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user