2
0
opencode-agent[bot] 2 сар өмнө
parent
commit
732a3dab8c

+ 1 - 1
packages/app/src/components/dialog-select-server.tsx

@@ -369,7 +369,7 @@ export function DialogSelectServer() {
 
   async function handleRemove(url: string) {
     server.remove(url)
-    if (await platform.getDefaultServerUrl?.() === url) {
+    if ((await platform.getDefaultServerUrl?.()) === url) {
       platform.setDefaultServerUrl?.(null)
     }
   }