From 997e647f46dba534214577d9f04c4cf55625ba8d Mon Sep 17 00:00:00 2001 From: Chuck Crandall Date: Thu, 4 Nov 2021 17:37:15 -0600 Subject: [PATCH] Hopeful fix for bug that sets activeIssue incorrectly after issue save. --- assets/js/Components/UfixitModal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/Components/UfixitModal.js b/assets/js/Components/UfixitModal.js index 0a4d77318..dbc47b283 100644 --- a/assets/js/Components/UfixitModal.js +++ b/assets/js/Components/UfixitModal.js @@ -394,10 +394,10 @@ class UfixitModal extends React.Component { newIssue.pending = false newIssue.recentlyUpdated = true + this.props.handleIssueSave(newIssue, data.data.report) + // update activeIssue this.props.handleActiveIssue(newIssue) - - this.props.handleIssueSave(newIssue, data.data.report) } else { issue.pending = false