-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GetDiscussionByIdForEstablishment handles user on copy emails
- Loading branch information
1 parent
47a6bae
commit 1871979
Showing
5 changed files
with
60 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -620,7 +620,7 @@ describe("PgDiscussionRepository", () => { | |
|
||
it("also returns discussion if discussion is searched by contact email and email is in copyEmails", async () => { | ||
const discussion = new DiscussionBuilder() | ||
.withId("id-for-discussion-with-found-copy-email") | ||
.withId(uuid()) | ||
.withEstablishmentContact({ | ||
email: "[email protected]", | ||
copyEmails: ["[email protected]"], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,13 +73,14 @@ export const formEstablishmentFieldsLabels = ( | |
id: domElementIds.establishment[mode].businessContact.phone, | ||
}, | ||
"businessContact.email": { | ||
label: "E-mail", | ||
label: "E-mail du référent", | ||
required: true, | ||
id: domElementIds.establishment[mode].businessContact.email, | ||
}, | ||
"businessContact.copyEmails": { | ||
label: "Autres destinataires", | ||
hintText: "Adresses mail à mettre en copie", | ||
hintText: | ||
"Adresses mail à mettre en copie, les utilisateurs liés à ces adresses auront accès aux discussions", | ||
placeholder: "Ex : [email protected], [email protected] (optionnel)", | ||
id: domElementIds.establishment[mode].businessContact.copyEmails, | ||
}, | ||
|