fix: remove usage of probability field (#5877)

- fixes #5735

---------

Co-authored-by: Marie Stoppa <marie.stoppa@essec.edu>
This commit is contained in:
Siddhant Rai
2024-07-16 13:54:35 +05:30
committed by GitHub
parent c0f6f52669
commit 364caf0fdf
18 changed files with 14 additions and 64 deletions

View File

@ -39,11 +39,6 @@ export const formatFieldMetadataItemsAsFilterDefinitions = ({
return acc;
}
// Todo: remove once Rating fieldtype is implemented
if (field.name === 'probability') {
return acc;
}
return [...acc, formatFieldMetadataItemAsFilterDefinition({ field })];
}, [] as FilterDefinition[]);