feat(invitations): add the invitation compose screen with a candidate-side preview
This commit is contained in:
1 parent
1a067221f7
commit
cb08f212cc
35 files changed
+4170
-67
No files matched your search
@@ -42,8 +42,9 @@ export const paths = {
|
||||
candidatesForNeed: (needId: string, organizationId: string) =>
|
||||
`/employer/candidates?organization_id=${encodeURIComponent(organizationId)}&need_id=${encodeURIComponent(needId)}`,
|
||||
invitations: "/employer/invitations",
|
||||
invitationNew: "/employer/invitations/new",
|
||||
/**
|
||||
* Opens the invitations section for one search result. The handle is the
|
||||
* Opens the invitation form for one search result. The handle is the
|
||||
* organization-scoped alias from the search, never a candidate identifier.
|
||||
*/
|
||||
inviteCandidate: (input: {
|
||||
@@ -58,7 +59,7 @@ export const paths = {
|
||||
specialization: input.specialization,
|
||||
});
|
||||
if (input.needId) query.set("need_id", input.needId);
|
||||
return `/employer/invitations?${query.toString()}`;
|
||||
return `/employer/invitations/new?${query.toString()}`;
|
||||
},
|
||||
notifications: "/employer/notifications",
|
||||
supportCases: "/employer/support/cases",
|
||||
|
||||
Reference in new issue
Block a user