Skip to content

Commit a055e9d

Browse files
fix: FIT-42: LSO-1.18.0: Screen Goes Blank When Filtering by Predicted Model Version in Label Studio Projects (#7518)
1 parent f4d794e commit a055e9d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • web/libs/datamanager/src/components/Filters/types

web/libs/datamanager/src/components/Filters/types/List.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import { FilterDropdown } from "../FilterDropdown";
33
import { useMemo } from "react";
44
// import { Common } from "./Common";
55

6+
function defaultFilterItems(items) {
7+
return items?.toJSON ? items.toJSON() : items;
8+
}
9+
610
export const VariantSelect = observer(({ filter, schema, onChange, multiple, value, placeholder }) => {
711
if (!schema) return <></>;
812
const { items } = schema;

0 commit comments

Comments
 (0)