fix(desktop): include wslServers loading in ready state (#37218)

This commit is contained in:
Brendan Allan
2026-07-16 17:40:04 +08:00
committed by GitHub
parent 17544802c3
commit 590a11ed98
+2 -1
View File
@@ -382,7 +382,8 @@ function DesktopRoot(props: { windowState: DesktopWindowState }) {
function App() { function App() {
const wslServers = useWslServers() const wslServers = useWslServers()
const ready = createMemo( const ready = createMemo(
() => !defaultServer.loading && !sidecar.loading && !windowCount.loading && !locale.loading, () =>
!defaultServer.loading && !sidecar.loading && !windowCount.loading && !locale.loading && !wslServers.isLoading,
) )
const servers = createMemo(() => { const servers = createMemo(() => {
const data = initializationData(sidecar) const data = initializationData(sidecar)