Skip to content

Commit

Permalink
add email local keys to composer
Browse files Browse the repository at this point in the history
  • Loading branch information
ipula committed Nov 28, 2024
1 parent 2c84af7 commit d9b9b89
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/pages/userInvitation/UserInvitationEmailComposerStep.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,16 @@ const recipients = computed(() => {
});
const recipientOptions = computed(() => {
return [
{
value: store.invitationPayload.inviteeEmail,
label: {
[store.primaryLocale]: store.invitationPayload.inviteeEmail,
},
},
];
let userEmails = {
value: store.invitationPayload.inviteeEmail,
label: {},
};
props.email.locales.forEach((element) => {
userEmails.label = {
...userEmails.label,
[element.locale]: store.invitationPayload.inviteeEmail,
};
});
return [userEmails];
});
</script>

0 comments on commit d9b9b89

Please sign in to comment.