refac
This commit is contained in:
1 parent
60d11c1f6f
commit
63eab42208
1 file changed
+1
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user