Skip to content

Commit de87639

Browse files
authored
fix: vector name (#4246)
1 parent f9cecfd commit de87639

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/app/src/components/core/app/DatasetSelectModal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ export const DatasetSelectModal = ({
169169
alignItems={'center'}
170170
fontSize={'sm'}
171171
color={
172-
activeVectorModel === item.vectorModel.name ? 'primary.600' : 'myGray.500'
172+
activeVectorModel === item.vectorModel.model
173+
? 'primary.600'
174+
: 'myGray.500'
173175
}
174176
>
175177
{item.type === DatasetTypeEnum.folder ? (

0 commit comments

Comments
 (0)