mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-01 09:22:44 -05:00
fix(a11y): copying a prompt in Workspace shows a notification that screen readers read (#32905)
This commit is contained in:
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user