fix: vector name (#4246)

This commit is contained in:
Archer 2025-03-20 00:27:31 +08:00 committed by GitHub
parent f9cecfd49a
commit de87639fce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -169,7 +169,9 @@ export const DatasetSelectModal = ({
alignItems={'center'}
fontSize={'sm'}
color={
activeVectorModel === item.vectorModel.name ? 'primary.600' : 'myGray.500'
activeVectorModel === item.vectorModel.model
? 'primary.600'
: 'myGray.500'
}
>
{item.type === DatasetTypeEnum.folder ? (