فهرست منبع

chore: generate

opencode-agent[bot] 8 ماه پیش
والد
کامیت
732a3dab8c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/app/src/components/dialog-select-server.tsx

+ 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)
     }
   }