mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
parent
090619c27c
commit
e68a3d28b5
@ -41,12 +41,10 @@
|
||||
func.name = frontmatter.title;
|
||||
}
|
||||
|
||||
if (frontmatter?.description) {
|
||||
func.meta = {
|
||||
...func.meta,
|
||||
description: frontmatter.description
|
||||
...(func.meta ?? {}),
|
||||
description: frontmatter?.description ?? func.name
|
||||
};
|
||||
}
|
||||
|
||||
onImport(func);
|
||||
show = false;
|
||||
|
Loading…
Reference in New Issue
Block a user