Fix: stop retrieve issues when there are none left
This commit is contained in:
parent
e51f15dbea
commit
c901eeb816
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user