allow the case when the referrer is null

This commit is contained in:
Julien Fastré 2021-11-22 16:33:36 +01:00
parent f3792b2ed6
commit 6028167513

View File

@ -62,6 +62,7 @@ const store = createStore({
const existingThirdPartyIds = state.activity.thirdParties.map(
(p) => p.id
);
return [state.activity.accompanyingPeriod.requestor].filter(
(r) =>
(r.type === "person" &&