From fd58e2bb16e41a6097135b77565a4f6e39f61d85 Mon Sep 17 00:00:00 2001 From: Matjaž Črnko Date: Mon, 22 Jan 2024 15:12:47 +0100 Subject: fix: Migrate more Select to SelectField --- modern/src/reports/components/ReportFilter.jsx | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'modern/src/reports/components') diff --git a/modern/src/reports/components/ReportFilter.jsx b/modern/src/reports/components/ReportFilter.jsx index 9e6a0a23..f7b4a6e1 100644 --- a/modern/src/reports/components/ReportFilter.jsx +++ b/modern/src/reports/components/ReportFilter.jsx @@ -104,19 +104,14 @@ const ReportFilter = ({ children, handleSubmit, handleSchedule, showOnly, ignore )} {includeGroups && (
- - {t('settingsGroups')} - - + a.name.localeCompare(b.name))} + value={groupIds} + onChange={(e) => dispatch(reportsActions.updateGroupIds(e.target.value))} + multiple + fullWidth + />
)} {button !== 'schedule' ? ( @@ -170,7 +165,7 @@ const ReportFilter = ({ children, handleSubmit, handleSchedule, showOnly, ignore
setCalendarId(Number(event.target.value))} endpoint="/api/calendars" label={t('sharedCalendar')} -- cgit v1.2.3