diff --git a/app/components/explorer/source-select-dropdown.js b/app/components/explorer/source-select-dropdown.js index 70513273..7866c04e 100644 --- a/app/components/explorer/source-select-dropdown.js +++ b/app/components/explorer/source-select-dropdown.js @@ -57,7 +57,7 @@ export default class SourceSelectDropdownComponent extends Component { } get showACS() { - if(['districts', 'blocks', 'ccds'].includes(this.args.geotype)) { + if(['districts', 'blocks'].includes(this.args.geotype)) { return false; } return true; diff --git a/app/components/map-utility-box.js b/app/components/map-utility-box.js index 6d90da2d..a34a5daa 100644 --- a/app/components/map-utility-box.js +++ b/app/components/map-utility-box.js @@ -146,8 +146,8 @@ export default Component.extend({ }) } - // Reset the source for geotypes that do not have ACS data - if ((['ccds', 'districts'].includes(type)) && (['acs-current', 'acs-previous', 'acs-change'].includes(queryParams['source']))) { + // Reset the source for geotypes that do not have ACS data. + if ((['districts'].includes(type)) && (['acs-current', 'acs-previous', 'acs-change'].includes(queryParams['source']))) { queryParams['source'] = 'decennial-current'; } diff --git a/app/controllers/explorer.js b/app/controllers/explorer.js index f5e0e175..8d76e331 100644 --- a/app/controllers/explorer.js +++ b/app/controllers/explorer.js @@ -30,7 +30,7 @@ export default class ExplorerController extends Controller { @tracked sourceId = 'decennial-current'; @tracked censusTopics = - 'populationSexAgeDensity,mutuallyExclusiveRaceHispanicOrigin,relationHeadHousehold,detailedRaceAndEthnicity,householdType,housingOccupancy,housingTenure,householdSize,'; + 'populationSexAgeDensity,mutuallyExclusiveRaceHispanicOrigin,detailedRaceAndEthnicity,relationHeadHousehold,householdType,housingOccupancy,housingTenure,householdSize'; @tracked acsTopics = 'demo-sexAndAge,demo-mutuallyExclusiveRaceHispanicOrigin,demo-hispanicSubgroup,demo-asianSubgroup';