From 59d43edea10013aeaba084400aab22e93ae0068e Mon Sep 17 00:00:00 2001 From: vpopescu Date: Thu, 25 Aug 2022 14:36:35 +0200 Subject: [PATCH] Removed redirect to /groups when clicking on apply --- jsx/src/components/GroupEdit/GroupEdit.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/jsx/src/components/GroupEdit/GroupEdit.jsx b/jsx/src/components/GroupEdit/GroupEdit.jsx index 31e32100..bd7f3992 100644 --- a/jsx/src/components/GroupEdit/GroupEdit.jsx +++ b/jsx/src/components/GroupEdit/GroupEdit.jsx @@ -150,7 +150,6 @@ const GroupEdit = (props) => { allPassed ? updateGroups(0, limit) .then((data) => dispatchPageUpdate(data, 0)) - .then(() => history.push("/groups")) : setErrorAlert(`Failed to edit group.`); }) .catch(() => {