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
commit 590a11ed98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -382,7 +382,8 @@ function DesktopRoot(props: { windowState: DesktopWindowState }) {
function App() {
const wslServers = useWslServers()
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 data = initializationData(sidecar)