mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-30 06:43:48 +00:00
fix(a11y): copying a prompt in Workspace shows a notification that screen readers read (#32905)
This commit is contained in:
parent
f844f6e893
commit
e231ca160b
1 changed files with 1 additions and 0 deletions
|
|
@ -295,6 +295,7 @@
|
|||
const copyHandler = async (prompt) => {
|
||||
const res = await copyToClipboard(prompt.content);
|
||||
if (res) {
|
||||
toast.success($i18n.t('Copied to clipboard'));
|
||||
copiedId = prompt.command;
|
||||
setTimeout(() => {
|
||||
copiedId = null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue