mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 06:15:23 +00:00
refac
This commit is contained in:
parent
090619c27c
commit
e68a3d28b5
1 changed files with 4 additions and 6 deletions
|
|
@ -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 ?? func.name
|
||||||
description: frontmatter.description
|
};
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
onImport(func);
|
onImport(func);
|
||||||
show = false;
|
show = false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue