feat(chat): highlight selected model name
This commit is contained in:
parent
f7ce3b8686
commit
3c70ff4f8e
@ -23,6 +23,7 @@ const Navigation: FC<Props> = ({ activeAssistant }) => {
|
|||||||
children: p.models.map((m) => ({
|
children: p.models.map((m) => ({
|
||||||
key: m.id,
|
key: m.id,
|
||||||
label: m.name,
|
label: m.name,
|
||||||
|
style: m.id === model?.id ? { color: '#00b96b' } : undefined,
|
||||||
onClick: () => setModel(m)
|
onClick: () => setModel(m)
|
||||||
}))
|
}))
|
||||||
}))
|
}))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user