Skip to content

Commit

Permalink
Remove fixed from organization name. Fixes openstate/open-raadsinform…
Browse files Browse the repository at this point in the history
  • Loading branch information
breyten committed Mar 11, 2024
1 parent babda62 commit 7acc952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions front/src/helpers.ts
Expand Up @@ -92,6 +92,7 @@ export const getParams = (history: History) => {
export const indexToLabel = (_index: string) => {
const parts = _index.split("_");
const stitchedName = parts
.filter((s) => (s != 'fixed'))
.slice(1, parts.length - 1)
.map((s) => `${s.charAt(0).toLocaleUpperCase()}${s.substring(1)}`)
.join(" ");
Expand Down

0 comments on commit 7acc952

Please sign in to comment.