Skip to content

Commit dd33851

Browse files
committed
Fix list keep show loading
1 parent 489e534 commit dd33851

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/ide/jetbrains/toolbox/src/main/kotlin/io/gitpod/toolbox/gateway/GitpodRemoteProvider.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class GitpodRemoteProvider(
5959
Utils.observablePropertiesFactory
6060
)
6161
environmentMap[connectParams.uniqueID] = Pair(workspace, env)
62-
consumer.consumeEnvironments(environmentMap.values.map { it.second }, false)
62+
consumer.consumeEnvironments(environmentMap.values.map { it.second }, true)
6363
}
6464
val joinLinkInfo = publicApi.fetchJoinLink2Info(workspaceId, workspace!!.getIDEUrl())
6565
// TODO(hw): verify if it's working
@@ -75,7 +75,7 @@ class GitpodRemoteProvider(
7575
Utils.coroutineScope.launch {
7676
val workspaces = publicApi.listWorkspaces()
7777
if (workspaces.isEmpty()) {
78-
consumer.consumeEnvironments(emptyList(), false)
78+
consumer.consumeEnvironments(emptyList(), true)
7979
return@launch
8080
}
8181
consumer.consumeEnvironments(workspaces.map {
@@ -91,7 +91,7 @@ class GitpodRemoteProvider(
9191
pendingConnectParams = null
9292
}
9393
env
94-
}, false)
94+
}, true)
9595
}
9696
}
9797

0 commit comments

Comments
 (0)