Skip to content

Commit

Permalink
fix #401
Browse files Browse the repository at this point in the history
  • Loading branch information
joluj committed Jul 10, 2021
1 parent 37c8720 commit 0703b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/visualization/filtering/MaxEntitiesSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function MaxEntitiesSlider({ entities }: Props): JSX.Element {
const update = (val: number) => {
const filterLimits = filterQueryStore.getValue().limits ?? {};

if (val >= max) {
if (val > max) {
// If selected filter >= max number of entities => delete that filter
delete filterLimits[entities];
} else {
Expand Down

0 comments on commit 0703b1f

Please sign in to comment.