Skip to content

Commit

Permalink
Fix console error (#101)
Browse files Browse the repository at this point in the history
Co-authored-by: Iuliia Kulagina <[email protected]>
  • Loading branch information
kullJul and Iuliia Kulagina committed Mar 28, 2024
1 parent 5e0d50a commit 9750ede
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.3.2.0
* Fixed console error "undefined CustomVisualObjects"

## 3.3.1.0
* Fixed bug that occurs when resizing the visual
* Fixed console error in formatting mode
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "powerbi-visuals-globemap",
"description": "GlobeMap",
"version": "3.3.1.0",
"version": "3.3.2.0",
"author": {
"name": "Microsoft",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion pbiviz.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"displayName": "GlobeMap",
"guid": "GlobeMap1447669447625",
"visualClassName": "GlobeMap",
"version": "3.3.1.0",
"version": "3.3.2.0",
"description": "A 3D visual using WebGL for plotting locations, with category values displayed as bar heights and heat maps.\n\nShift+Click on bar to change center point. \nSlicing data points will animate to average location.\n\nAttributions:\nthree.js - https://github.com/mrdoob/three.js/\nwebgl-heatmap - https://github.com/pyalot/webgl-heatmap",
"supportUrl": "https://aka.ms/customvisualscommunity",
"gitHubUrl": "https://github.com/Microsoft/powerbi-visuals-globemap"
Expand Down
2 changes: 1 addition & 1 deletion src/globemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ export class GlobeMap implements IVisual {
}

private updateOutlinesFromSubSelections(subSelections: CustomVisualSubSelection[]){
const visualObject = subSelections?.[0].customVisualObjects[0];
const visualObject = subSelections?.[0]?.customVisualObjects[0];
if (visualObject) {
switch (visualObject.objectName) {
case DataPointReferences.fill.objectName:
Expand Down

0 comments on commit 9750ede

Please sign in to comment.