Skip to content

Commit 31afcbe

Browse files
authored
server : (webui) Give copy button back to all message bubbles (#11814)
* All messages get the copy button * Update index.html.gz
1 parent 5c4284d commit 31afcbe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/server/public/index.html.gz

1 Byte
Binary file not shown.

examples/server/webui/src/components/ChatMessage.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@ export default function ChatMessage({
254254
🔄 Regenerate
255255
</button>
256256
)}
257-
<CopyButton
258-
className="badge btn-mini show-on-hover mr-2"
259-
content={msg.content}
260-
/>
261257
</>
262258
)}
259+
<CopyButton
260+
className="badge btn-mini show-on-hover mr-2"
261+
content={msg.content}
262+
/>
263263
</div>
264264
)}
265265
</div>

0 commit comments

Comments
 (0)