mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-25 06:47:37 -05:00
refac
This commit is contained in:
1 parent
46dce79eb0
commit
8a42aa53e8
11 files changed
+147
-12
No files matched your search
@@ -47,7 +47,14 @@
|
||||
}))
|
||||
);
|
||||
data = data.filter((d) => d && !d.error);
|
||||
terminalServers.set([...data, ...existingSystemTerminals]);
|
||||
terminalServers.set([
|
||||
...data.map((d, i) => ({
|
||||
...d,
|
||||
key: activeTerminals[i]?.key ?? '',
|
||||
config: activeTerminals[i]?.config ?? d?.config ?? {}
|
||||
})),
|
||||
...existingSystemTerminals
|
||||
]);
|
||||
} else {
|
||||
terminalServers.set(existingSystemTerminals);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user