Skip to content

Commit 06dd322

Browse files
committed
Updates focus view from review comments
1 parent 6e5fd71 commit 06dd322

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/git/models/pullRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export interface PullRequestShape extends IssueOrPullRequest {
6262
readonly comments?: number;
6363
readonly mergeableState?: PullRequestMergeableState;
6464
readonly reviewDecision?: PullRequestReviewDecision;
65-
readonly reviewRequests?: { isCodeOwner: boolean; reviewer: PullRequestMember }[];
65+
readonly reviewRequests?: PullRequestReviewer[];
6666
readonly assignees?: PullRequestMember[];
6767
}
6868

src/plus/webviews/focus/focusWebview.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,11 @@ export class FocusWebview extends WebviewBase<State> {
239239
}
240240
return (scoreB ?? 0) - (scoreA ?? 0);
241241
});
242-
// }
243242

244243
return this._pullRequests;
245244
}
246245

247246
private async getMyIssues(richRepos: RepoWithRichRemote[]): Promise<SearchedIssue[]> {
248-
// if (this._issues.length === 0) {
249247
const allIssues = [];
250248
for (const { remote } of richRepos) {
251249
const issues = await this.container.git.getMyIssues(remote);
@@ -256,7 +254,6 @@ export class FocusWebview extends WebviewBase<State> {
256254
}
257255

258256
this._issues = allIssues.sort((a, b) => b.issue.updatedDate.getTime() - a.issue.updatedDate.getTime());
259-
// }
260257

261258
return this._issues;
262259
}

0 commit comments

Comments
 (0)