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
aa8db40376
commit
8d33b5e063
@ -53,7 +53,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const copyToClipboard = async (text) => {
|
const copyToClipboard = async (text) => {
|
||||||
const res = await _copyToClipboard(text);
|
const res = await _copyToClipboard(text, $settings?.copyFormatted ?? false);
|
||||||
if (res) {
|
if (res) {
|
||||||
toast.success($i18n.t('Copying to clipboard was successful!'));
|
toast.success($i18n.t('Copying to clipboard was successful!'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user