Fix: stop retrieve issues when there are none left

This commit is contained in:
Maxence G. de Montauzan 2022-08-08 15:49:27 +02:00
parent e51f15dbea
commit c901eeb816

View File

@ -37,7 +37,7 @@ export class IssueProvider implements vscode.TreeDataProvider<Issue> {
c.creator = c.user.login; c.creator = c.user.login;
}); });
page++; page++;
if (issues.length < 10) { if (issuesOfPage.length < 10) {
break; break;
} }
} }