fix(ui) - check for existing filters to avoid duplicate

This commit is contained in:
Shekar Siri 2022-08-24 11:12:14 +02:00
parent e24c25f785
commit d3db681888

View file

@ -58,6 +58,9 @@ const SessionSearchQueryParamHandler = React.memo((props: Props) => {
};
const applyFilterFromQuery = () => {
if (appliedFilter.filters.size > 0) {
return;
}
const entires = getQueryObject(history.location.search);
if (entires.length > 0) {
entires.forEach(addFilter);