mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +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) => ({
|
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…
Reference in New Issue
Block a user