diff --git a/client/app/components/TableFilter.jsx b/client/app/components/TableFilter.jsx index bccd70ce974..248903e4fb4 100644 --- a/client/app/components/TableFilter.jsx +++ b/client/app/components/TableFilter.jsx @@ -75,7 +75,11 @@ class TableFilter extends React.PureComponent { }); // Case insensitive ordering for the filter options - return _.orderBy(filterOptionsFromApi, [(option) => option.displayText.toLowerCase()], ['asc']); + return _.orderBy( + filterOptionsFromApi.filter((option) => option.displayText), + [(option) => option.displayText.toLowerCase()], + ['asc'] + ); } const columnValues = tableDataByRow.map((obj) => {