Explorar o código

disable vector field in filter

czhen %!s(int64=3) %!d(string=hai) anos
pai
achega
537c231767
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      client/src/pages/query/Query.tsx

+ 5 - 1
client/src/pages/query/Query.tsx

@@ -225,7 +225,11 @@ const Query: FC<{
           <Filter
             ref={filterRef}
             title="Advanced Filter"
-            fields={fields}
+            fields={fields.filter(
+              i =>
+                i.type !== DataTypeStringEnum.FloatVector &&
+                i.type !== DataTypeStringEnum.BinaryVector
+            )}
             filterDisabled={false}
             onSubmit={handleFilterSubmit}
             showTitle={false}