Skip to content

Commit

Permalink
Hardcoded case ordinal crept back in somehow. (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellabitta authored Feb 22, 2024
1 parent 6638993 commit 2f27d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cap-case.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ export default class CapCase extends LitElement {

const [reporter, volume, page] = pathComponents;
const newUrl = new URL(
`/caselaw/?reporter=${reporter}&volume=${volume}&case=${page.padStart(4, "0")}-01`,
`/caselaw/?reporter=${reporter}&volume=${volume}&case=${page.padStart(4, "0")}`,
window.location,
);
a.setAttribute("href", newUrl);
Expand Down

0 comments on commit 2f27d74

Please sign in to comment.