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