mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
refac
This commit is contained in:
parent
60d11c1f6f
commit
63eab42208
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
let selectedTools = [];
|
let selectedTools = [];
|
||||||
|
|
||||||
$: selectedTools = $tools.filter((tool) => selectedToolIds.includes(tool.id));
|
$: selectedTools = ($tools ?? []).filter((tool) => selectedToolIds.includes(tool.id));
|
||||||
|
|
||||||
const i18n = getContext('i18n');
|
const i18n = getContext('i18n');
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue