/**
 * CDC and CEFP share the issue matrix screens, so the buttons cannot name one
 * section. The part of the address the user is already in decides where the
 * list and detail pages live.
 */
export function getIssueMatrixBasePath(pathname: string): string {
  return pathname.startsWith("/cefp")
    ? "/cefp/cefp-issue-matrix"
    : "/cdc/cdc-issue-matrix";
}
