Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 48aec7b

Browse files
committed
Don't load tab multiple times at once
1 parent 0d9e7fc commit 48aec7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.App/ViewModels/Dialog/Clone/RepositorySelectViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static string GroupName(KeyValuePair<string, IReadOnlyList<RepositoryListItemMod
129129

130130
async Task LoadItems(bool refresh)
131131
{
132-
if (connection == null && !IsLoading) return;
132+
if (connection == null || IsLoading) return;
133133

134134
Error = null;
135135
IsLoading = true;

0 commit comments

Comments
 (0)