mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
enh: chat "clone" i18n
This commit is contained in:
@@ -87,7 +87,13 @@
|
||||
};
|
||||
|
||||
const cloneChatHandler = async (id) => {
|
||||
const res = await cloneChatById(localStorage.token, id).catch((error) => {
|
||||
const res = await cloneChatById(
|
||||
localStorage.token,
|
||||
id,
|
||||
$i18n.t('Clone of {{TITLE}}', {
|
||||
TITLE: title
|
||||
})
|
||||
).catch((error) => {
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user