mirror of
https://github.com/open-webui/open-webui
synced 2025-01-29 13:58:09 +00:00
fix
This commit is contained in:
parent
0ec4d56593
commit
581e7800fa
@ -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 New Issue
Block a user