From 3b20b343ebc7c5258b2e2248ab3ee777060df3d7 Mon Sep 17 00:00:00 2001 From: Patrick Delcroix Date: Wed, 6 Dec 2023 13:06:32 +0100 Subject: [PATCH 1/3] remove injectIntl --- src/components/UserFilter.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/UserFilter.js b/src/components/UserFilter.js index 3bd1204..fe1891e 100644 --- a/src/components/UserFilter.js +++ b/src/components/UserFilter.js @@ -1,5 +1,4 @@ import React, { Component } from "react"; -import { injectIntl } from "react-intl"; import _debounce from "lodash/debounce"; import { withTheme, withStyles } from "@material-ui/core/styles"; From e0e7f4fe8e85f3ee90c658a368b86693a27444cc Mon Sep 17 00:00:00 2001 From: Patrick Delcroix Date: Wed, 6 Dec 2023 17:32:36 +0100 Subject: [PATCH 2/3] adding migging filter --- src/components/UserFilter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/UserFilter.js b/src/components/UserFilter.js index fe1891e..02b4345 100644 --- a/src/components/UserFilter.js +++ b/src/components/UserFilter.js @@ -164,7 +164,7 @@ class UserFilter extends Component { }; render() { - const { classes, onChangeFilters , intl} = this.props; + const { classes, filter, onChangeFilters , intl} = this.props; const { locationFilters, currentUserType, currentUserRoles, selectedDistrict } = this.state; return (
From 0c9ec0c160121c5d4751cf8612716239e0208400 Mon Sep 17 00:00:00 2001 From: Patrick Delcroix Date: Wed, 6 Dec 2023 17:54:53 +0100 Subject: [PATCH 3/3] fix filters --- src/components/UserFilter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/UserFilter.js b/src/components/UserFilter.js index 02b4345..6ab85f6 100644 --- a/src/components/UserFilter.js +++ b/src/components/UserFilter.js @@ -164,7 +164,7 @@ class UserFilter extends Component { }; render() { - const { classes, filter, onChangeFilters , intl} = this.props; + const { classes, filters, onChangeFilters , intl} = this.props; const { locationFilters, currentUserType, currentUserRoles, selectedDistrict } = this.state; return (