Skip to content

Commit 48a2f35

Browse files
committed
2024-11-08 - non-recipient search
1 parent bef7e3a commit 48a2f35

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

web-ui/src/components/feedback_external_recipient_selector/FeedbackExternalRecipientSelector.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ const FeedbackExternalRecipientSelector = ({ changeQuery, fromQuery, forQuery, a
267267
addExternalRecipientId(newRecipient.id);
268268
handleNewRecipientClose();
269269
}
270-
271270
};
272271

273272
return (

web-ui/src/pages/FeedbackRequestPage.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,12 @@ const FeedbackRequestPage = () => {
316316
return;
317317
}
318318
query.step = `${activeStep + 1}`;
319-
query.from = null;
319+
if (query.step == 2) {
320+
query.from = null;
321+
}
320322
history.push({ ...location, search: queryString.stringify(query) });
321-
}, [canProceed, steps.length, query, location, history]); // eslint-disable-line react-hooks/exhaustive-deps
323+
}, [canProceed, steps.length, query, location, history])
324+
; // eslint-disable-line react-hooks/exhaustive-deps
322325

323326
const onBackClick = useCallback(() => {
324327
if (activeStep === 1) return;

0 commit comments

Comments
 (0)