mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
Fixed isOn server name setting
This commit is contained in:
parent
da6ffecc1d
commit
f99589aaa6
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ class MCPService extends Disposable implements IMCPService {
|
|||
|
||||
// set isOn to any new servers in the config
|
||||
const addedUserStateOfName: MCPUserStateOfName = {}
|
||||
for (const name in addedServerNames) { addedUserStateOfName[name] = { isOn: true } }
|
||||
for (const name of addedServerNames) { addedUserStateOfName[name] = { isOn: true } }
|
||||
await this.voidSettingsService.addMCPUserStateOfNames(addedUserStateOfName);
|
||||
|
||||
// delete isOn for any servers that no longer show up in the config
|
||||
|
|
|
|||
Loading…
Reference in a new issue