Skip to content

Commit 1879fb3

Browse files
authored
fix isNamedVectorCondition (#214)
1 parent 80865f7 commit 1879fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Collections/SearchQuality/SearchQuality.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const SearchQuality = ({ collectionName }) => {
4242
}, []);
4343

4444
// Check that collection.config.params.vectors?.size exists and integer
45-
const isNamedVectors = collection?.config?.params.vectors?.size && !_.isObject(collection?.config?.params?.vectors);
45+
const isNamedVectors = !collection?.config?.params.vectors?.size && _.isObject(collection?.config?.params?.vectors);
4646
let vectors = {};
4747
if (collection) {
4848
vectors = isNamedVectors ? collection?.config?.params?.vectors : { '': collection?.config?.params?.vectors };

0 commit comments

Comments
 (0)