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

fix institution typo and capitalize LEIs #204

Merged
merged 1 commit into from
Nov 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/geo/CategorySelect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const categories = [
{value: 'counties', label: 'County'},
{value: 'msamds', label: 'MSA/MD'},
{value: 'nationwide', label: 'Nationwide'},
{value: 'leis', label: 'Instituion by LEI'}
{value: 'leis', label: 'Institution by LEI'}
]

const CategorySelect = ({ category, onChange }) => {
Expand Down
1 change: 1 addition & 0 deletions src/geo/selectUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function setVariableSelect(orderedVariables){

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