Commit de87639f by Archer Committed by GitHub

fix: vector name (#4246)

parent f9cecfd4
...@@ -169,7 +169,9 @@ export const DatasetSelectModal = ({ ...@@ -169,7 +169,9 @@ export const DatasetSelectModal = ({
alignItems={'center'} alignItems={'center'}
fontSize={'sm'} fontSize={'sm'}
color={ color={
activeVectorModel === item.vectorModel.name ? 'primary.600' : 'myGray.500' activeVectorModel === item.vectorModel.model
? 'primary.600'
: 'myGray.500'
} }
> >
{item.type === DatasetTypeEnum.folder ? ( {item.type === DatasetTypeEnum.folder ? (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment