mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
fix
This commit is contained in:
parent
a43cb1eb25
commit
48ac4d9f2a
@ -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 New Issue
Block a user