We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31b0095 commit 316b68fCopy full SHA for 316b68f
1 file changed
WorkspaceLauncherForVSCode/Pages/VisualStudioCodePage.cs
@@ -113,13 +113,13 @@ public override IListItem[] GetItems()
113
#if DEBUG
114
using var logger = new TimeLogger();
115
#endif
116
- lock (_itemsLock)
+ if (_allItems.Count == 0 && !IsLoading)
117
{
118
- if (_allItems.Count == 0 && !IsLoading)
119
- {
120
- RefreshWorkspacesAsync(isUserInitiated: false).GetAwaiter().GetResult();
121
- }
+ RefreshWorkspacesAsync(isUserInitiated: false).GetAwaiter().GetResult();
+ }
122
+ lock (_itemsLock)
+ {
123
if (_visibleItems.Count == 0 && !IsLoading && !string.IsNullOrWhiteSpace(SearchText))
124
125
return _noResultsRefreshItem;
0 commit comments