Fix showing undefined in chips if there's no value
[arvados-workbench2.git] / src / models / search-bar.ts
index abc4b72b8721ba05acd1408473246d8aa2e65664..798f9c8f27bd84d1aeb6fbb06aaa244771ff840b 100644 (file)
@@ -14,10 +14,10 @@ export type SearchBarAdvanceFormData = {
     saveQuery: boolean;
     queryName: string;
     searchValue: string;
-    properties: PropertyValues[];
+    properties: PropertyValue[];
 };
 
-export interface PropertyValues {
+export interface PropertyValue {
     key: string;
     value: string;
 }