mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
feat(chat): highlight selected model name
This commit is contained in:
parent
57999d2600
commit
f2e637a0c4
@ -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)
|
||||
}))
|
||||
}))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user