mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE-modal-close-when-reset): Close filter modal when resetting
dashboard filters
This commit is contained in:
@@ -225,7 +225,8 @@ const DashboardProduction = () => {
|
||||
setAnalysisMode('OVERVIEW');
|
||||
setSelectedLocationIds([]);
|
||||
setRawKandangInputValue('');
|
||||
}, [resetForm, resetFilterValues]);
|
||||
filterModal.closeModal();
|
||||
}, [filterModal, resetForm, resetFilterValues]);
|
||||
|
||||
// ===== Formik Error List =====
|
||||
const { formErrorList, close, handleFormSubmit } = useFormikErrorList(formik);
|
||||
|
||||
Reference in New Issue
Block a user