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;
|
func.name = frontmatter.title;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (frontmatter?.description) {
|
|
||||||
func.meta = {
|
func.meta = {
|
||||||
...func.meta,
|
...(func.meta ?? {}),
|
||||||
description: frontmatter.description
|
description: frontmatter?.description ?? func.name
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
|
||||||
onImport(func);
|
onImport(func);
|
||||||
show = false;
|
show = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user