Skip to content

Commit e3ff747

Browse files
authored
Hide command name from drop-down (#327)
1 parent 8a26405 commit e3ff747

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/jupyter-chat/src/widgets/multichat-panel.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,9 @@ function ChatSelect({
547547

548548
return (
549549
<HTMLSelect onChange={handleChange} value="-">
550-
<option value="-">Open a chat</option>
550+
<option value="-" disabled hidden>
551+
Open a chat
552+
</option>
551553
{Object.keys(chatNames).map(name => (
552554
<option value={chatNames[name]}>{name}</option>
553555
))}

0 commit comments

Comments
 (0)