diff --git a/src/pages/RetrofitChicagoParticipants.vue b/src/pages/RetrofitChicagoParticipants.vue index 73b5e87..48b6066 100644 --- a/src/pages/RetrofitChicagoParticipants.vue +++ b/src/pages/RetrofitChicagoParticipants.vue @@ -40,11 +40,9 @@ export default class ChicagoRetrofitParticipants extends Vue { filterBuildings(): void { // Loop through BuildingsCustomInfo to get the IDs of buildings we are looking for const retrofitBuildingSlugs: Array = Object.entries(BuildingsCustomInfo) - // eslint-disable-next-line @typescript-eslint/no-unused-vars - .filter(([ buildingID, buildingInfo ]: [string, IBuildingCustomInfo]) => { + .filter(([ , buildingInfo ]: [string, IBuildingCustomInfo]) => { return buildingInfo.tags?.includes(BuildingTags.hasRetrofitCaseStudy); - // eslint-disable-next-line @typescript-eslint/no-unused-vars - }).map(([ buildingID, buildingInfo ]: [string, IBuildingCustomInfo]) => buildingID); + }).map(([ buildingID ]: [string, IBuildingCustomInfo]) => buildingID); this.buildingsFiltered = this.$static.allBuilding.edges.filter((buildingEdge: IBuildingEdge) => { diff --git a/src/templates/BuildingOwner.vue b/src/templates/BuildingOwner.vue index 9d7278f..932bf9e 100644 --- a/src/templates/BuildingOwner.vue +++ b/src/templates/BuildingOwner.vue @@ -62,11 +62,9 @@ export default class BiggestBuildings extends Vue { filterBuildings(ownerId: string): void { // Loop through BuildingsCustomInfo to get the IDs of buildings we are looking for const ownerBuildingsSlugs: Array = Object.entries(BuildingsCustomInfo) - // eslint-disable-next-line @typescript-eslint/no-unused-vars - .filter(([ buildingID, buildingInfo ]: [string, IBuildingCustomInfo]) => { + .filter(([ , buildingInfo ]: [string, IBuildingCustomInfo]) => { return buildingInfo.owner === ownerId; - // eslint-disable-next-line @typescript-eslint/no-unused-vars - }).map(([ buildingID, buildingInfo ]: [string, IBuildingCustomInfo]) => buildingID); + }).map(([ buildingID ]: [string, IBuildingCustomInfo]) => buildingID); this.buildingsFiltered = this.$static.allBuilding.edges.filter((buildingEdge: IBuildingEdge) => {