mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
fix
This commit is contained in:
parent
a43cb1eb25
commit
48ac4d9f2a
1 changed files with 10 additions and 0 deletions
|
|
@ -21,6 +21,16 @@
|
||||||
export let tools = {};
|
export let tools = {};
|
||||||
export let onClose: Function;
|
export let onClose: Function;
|
||||||
|
|
||||||
|
$: tools = Object.fromEntries(
|
||||||
|
Object.keys(tools).map((toolId) => [
|
||||||
|
toolId,
|
||||||
|
{
|
||||||
|
...tools[toolId],
|
||||||
|
enabled: selectedToolIds.includes(toolId)
|
||||||
|
}
|
||||||
|
])
|
||||||
|
);
|
||||||
|
|
||||||
let show = false;
|
let show = false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue