mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
fix(servers): open settings tabs with history and keep server selection on load errors
External settings openers push a history entry and close the mobile sheet. The sidebar server selection only falls back to Local after the server list loads successfully.
This commit is contained in:
1 parent
96e22dfa66
commit
42dd733378
15 files changed
+118
-30
No files matched your search
@@ -58,6 +58,7 @@ export function useOpenCodeServers(options: { enabled?: boolean } = {}) {
|
||||
return {
|
||||
servers: serversQuery.data ?? [],
|
||||
isLoading: serversQuery.isLoading,
|
||||
isSuccess: serversQuery.isSuccess,
|
||||
error: serversQuery.error,
|
||||
refetch: serversQuery.refetch,
|
||||
createAsync: createMutation.mutateAsync,
|
||||
|
||||
Reference in new issue
Block a user