mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 09:18:59 +00:00
add progress reporting for fetching repos (#153082)
Fixes #151922 Co-authored-by: Ulugbek <ulugbek.abdullaev@jetbrains.com>
This commit is contained in:
parent
d595a3bc8d
commit
af0309e325
|
@ -49,11 +49,12 @@ class RemoteSourceProviderQuickPick {
|
|||
@throttle
|
||||
private async query(): Promise<void> {
|
||||
try {
|
||||
const remoteSources = await this.provider.getRemoteSources(this.quickpick?.value) || [];
|
||||
|
||||
this.ensureQuickPick();
|
||||
this.quickpick!.busy = true;
|
||||
this.quickpick!.show();
|
||||
|
||||
const remoteSources = await this.provider.getRemoteSources(this.quickpick?.value) || [];
|
||||
|
||||
if (remoteSources.length === 0) {
|
||||
this.quickpick!.items = [{
|
||||
label: localize('none found', "No remote repositories found."),
|
||||
|
|
Loading…
Reference in a new issue