mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix
This commit is contained in:
parent
0ec4d56593
commit
581e7800fa
2 changed files with 12 additions and 2 deletions
|
|
@ -43,7 +43,12 @@
|
|||
|
||||
let showDeleteConfirm = false;
|
||||
|
||||
const shareHandler = async (item) => {
|
||||
const shareHandler = async (func) => {
|
||||
const item = await getFunctionById(localStorage.token, func.id).catch((error) => {
|
||||
toast.error(error);
|
||||
return null;
|
||||
});
|
||||
|
||||
toast.success($i18n.t('Redirecting you to OpenWebUI Community'));
|
||||
|
||||
const url = 'https://openwebui.com';
|
||||
|
|
|
|||
|
|
@ -39,7 +39,12 @@
|
|||
|
||||
let showDeleteConfirm = false;
|
||||
|
||||
const shareHandler = async (item) => {
|
||||
const shareHandler = async (tool) => {
|
||||
const item = await getToolById(localStorage.token, tool.id).catch((error) => {
|
||||
toast.error(error);
|
||||
return null;
|
||||
});
|
||||
|
||||
toast.success($i18n.t('Redirecting you to OpenWebUI Community'));
|
||||
|
||||
const url = 'https://openwebui.com';
|
||||
|
|
|
|||
Loading…
Reference in a new issue