mirror of
https://github.com/open-webui/open-webui
synced 2025-06-23 02:16:52 +00:00
refac
This commit is contained in:
parent
60d11c1f6f
commit
63eab42208
@ -15,7 +15,7 @@
|
||||
|
||||
let selectedTools = [];
|
||||
|
||||
$: selectedTools = $tools.filter((tool) => selectedToolIds.includes(tool.id));
|
||||
$: selectedTools = ($tools ?? []).filter((tool) => selectedToolIds.includes(tool.id));
|
||||
|
||||
const i18n = getContext('i18n');
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user