hotfix and update version

This commit is contained in:
lloydzhou
2024-09-07 22:12:42 +08:00
parent daeffb2dc6
commit 23ac2efd89
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ export const usePluginStore = createPersistStore(
getAsTools(ids: string[]) {
const plugins = get().plugins;
const selected = ids
const selected = (ids || [])
.map((id) => plugins[id])
.filter((i) => i)
.map((p) => FunctionToolService.add(p));