Skip to content

Commit

Permalink
fix oversights as per coderabbit
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Oct 9, 2024
1 parent 8e6a538 commit 5ebc8c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/pages/regions/regions.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ export class RegionsComponent implements OnInit {
this.regions = regions.body;
this.vendors = vendors.body;

this.vendors = this.vendors.map((region, index) => {
return {selected: true, color: colors[index % colors.length], ...region}
this.vendors = this.vendors.map((vendor, index) => {
return {selected: true, color: colors[index % colors.length], ...vendor}
});

let element = document.getElementById("datamapdiv");
let element = this.document.getElementById("datamapdiv");

let fills: any = {
defaultFill: '#06263a'
Expand Down

0 comments on commit 5ebc8c4

Please sign in to comment.