Skip to content
This repository was archived by the owner on Jan 7, 2020. It is now read-only.

Commit 807a8e1

Browse files
authoredNov 19, 2019
Merge pull request #204 from cfpb/typo-cap
fix institution typo and capitalize LEIs
2 parents 860aa55 + 70f0614 commit 807a8e1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎src/geo/CategorySelect.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const categories = [
88
{value: 'counties', label: 'County'},
99
{value: 'msamds', label: 'MSA/MD'},
1010
{value: 'nationwide', label: 'Nationwide'},
11-
{value: 'leis', label: 'Instituion by LEI'}
11+
{value: 'leis', label: 'Institution by LEI'}
1212
]
1313

1414
const CategorySelect = ({ category, onChange }) => {

‎src/geo/selectUtils.js

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function setVariableSelect(orderedVariables){
3434

3535
function makeItemPlaceholder(category, selectedValues) {
3636
let type = category === 'msamds' ? 'MSA/MDs' : category
37+
if (type === 'leis') type = 'LEIs'
3738
if(type === 'nationwide') return 'Nationwide selected'
3839
if(selectedValues.length) return `Select or type additional ${type}`
3940
return `Select or type the name of one or more ${type}`

0 commit comments

Comments
 (0)
This repository has been archived.