(pathname, applicantId)
| 35 | } |
| 36 | |
| 37 | export function applicantDialogPath(pathname, applicantId) { |
| 38 | const basePath = safeLocalPath(pathname, "/datapoints").replace(/\/applicant\/[^/]+\/?$/, ""); |
| 39 | return `${basePath.replace(/\/$/, "")}/applicant/${encodePathSegment(applicantId)}`; |
| 40 | } |
| 41 | |
| 42 | export function favoritesProgramPath(programId) { |
| 43 | return `/favorites/${encodePathSegment(programId)}`; |
no test coverage detected